diff --git a/CMakeLists.txt b/CMakeLists.txt index 77bc026..5d1baec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,12 +113,7 @@ elseif (WIN32) list(APPEND LIBWEBRTC_DEFINITIONS WEBRTC_WIN NOMINMAX _CRT_SECURE_NO_WARNINGS) endif(UNIX) -set(LIBWEBRTC_LIBRARY_NAME ${CMAKE_STATIC_LIBRARY_PREFIX}webrtc${CMAKE_STATIC_LIBRARY_SUFFIX}) -set(LIBWEBRTC_LIBRARY_PATH ${CMAKE_BINARY_DIR}/${LIBWEBRTC_INSTALL_LIB_DIR}/${LIBWEBRTC_LIBRARY_NAME}) +set(LIBWEBRTC_LIBRARIES webrtc) -set(LIBWEBRTC_BUILD_ROOT ${CMAKE_SOURCE_DIR}/src/out/Default) add_subdirectory(Targets) - -if (BUILD_SAMPLES) - add_subdirectory(Samples) -endif (BUILD_SAMPLES) +export(PACKAGE LibWebRTC)