diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-06-27 20:55:30 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-06-27 21:31:32 +0800 |
commit | b6c1ba50d4d4665249fbc210c27db8c2f4942dd4 (patch) | |
tree | bbcbae203fb43d47f31f0d499504f9acfc2ab47b /indra | |
parent | 191170d4328c9d2356d99428276ba2f77977d2af (diff) |
Prevent automatic download of WebRTC
for when autobuild's not installed.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/cmake/WebRTC.cmake | 2 |
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 ) |