mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 03:15:11 +00:00
Build root not needed anymore, just define webrtc as the library's name, export the package
This commit is contained in:
parent
5ccda05d8c
commit
fc819a24b6
1 changed files with 2 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue