mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 17:07:49 +08:00
14 lines
520 B
Diff
14 lines
520 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index ca0f12e5..8e0e665f 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -326,7 +326,7 @@ else()
|
||
|
target_compile_definitions(datachannel PUBLIC RTC_ENABLE_MEDIA=1)
|
||
|
target_compile_definitions(datachannel-static PUBLIC RTC_ENABLE_MEDIA=1)
|
||
|
if(USE_SYSTEM_SRTP)
|
||
|
- find_package(libSRTP REQUIRED)
|
||
|
+ find_package(libSRTP CONFIG REQUIRED)
|
||
|
if(NOT TARGET libSRTP::srtp2)
|
||
|
add_library(libSRTP::srtp2 UNKNOWN IMPORTED)
|
||
|
set_target_properties(libSRTP::srtp2 PROPERTIES
|