Link external_webrtc with test modules for now.
This commit is contained in:
parent
fcde3de276
commit
7931925d5c
1 changed files with 13 additions and 0 deletions
13
external/webrtc/CMakeLists.txt
vendored
13
external/webrtc/CMakeLists.txt
vendored
|
|
@ -35,11 +35,24 @@ INTERFACE
|
||||||
|
|
||||||
set(webrtc_libs
|
set(webrtc_libs
|
||||||
webrtc
|
webrtc
|
||||||
|
test/platform_video_capturer
|
||||||
|
test/video_test_common
|
||||||
)
|
)
|
||||||
foreach (lib ${webrtc_libs})
|
foreach (lib ${webrtc_libs})
|
||||||
list(APPEND webrtc_libs_list "${webrtc_build_loc}/${lib}${webrtc_lib_suffix}")
|
list(APPEND webrtc_libs_list "${webrtc_build_loc}/${lib}${webrtc_lib_suffix}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
target_link_libraries(external_webrtc
|
||||||
|
INTERFACE
|
||||||
|
Secur32.lib # Required for rtc_base/http_common.cc
|
||||||
|
dmoguids.lib # Required for the built-in WASAPI AEC, see modules/audio_device/BUILD.gn
|
||||||
|
wmcodecdspuuid.lib
|
||||||
|
amstrmid.lib
|
||||||
|
msdmo.lib
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_libraries(external_webrtc
|
target_link_libraries(external_webrtc
|
||||||
INTERFACE
|
INTERFACE
|
||||||
${webrtc_libs_list}
|
${webrtc_libs_list}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue