summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-06-27 20:55:30 +0800
committerErik Kundiman <erik@megapahit.org>2024-06-27 21:31:32 +0800
commitb6c1ba50d4d4665249fbc210c27db8c2f4942dd4 (patch)
treebbcbae203fb43d47f31f0d499504f9acfc2ab47b /indra/cmake
parent191170d4328c9d2356d99428276ba2f77977d2af (diff)
Prevent automatic download of WebRTC
for when autobuild's not installed.
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/WebRTC.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/cmake/WebRTC.cmake b/indra/cmake/WebRTC.cmake
index 0127a0cb03..d336dcdb10 100644
--- a/indra/cmake/WebRTC.cmake
+++ b/indra/cmake/WebRTC.cmake
@@ -6,7 +6,9 @@ include_guard()
add_library( ll::webrtc INTERFACE IMPORTED )
target_include_directories( ll::webrtc SYSTEM INTERFACE "${LIBS_PREBUILT_DIR}/include/webrtc" "${LIBS_PREBUILT_DIR}/include/webrtc/third_party/abseil-cpp")
+if (NOT USESYSTEMLIBS)
use_prebuilt_binary(webrtc)
+endif ()
if (WINDOWS)
target_link_libraries( ll::webrtc INTERFACE webrtc.lib )