summaryrefslogtreecommitdiff
path: root/indra/llwebrtc
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-28 13:27:42 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-28 13:29:58 +0800
commitf8b36bceb14b85b848f1e4f3f075a5e7a64c0ae3 (patch)
tree0a1ca9a58d3bcb2152f23cd77eec35a95fc3f51c /indra/llwebrtc
parentff6c034db9d5a7a881b9b51f0ff2b5417856baa8 (diff)
Fix left out & error-causing from previous commit
Diffstat (limited to 'indra/llwebrtc')
-rw-r--r--indra/llwebrtc/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llwebrtc/CMakeLists.txt b/indra/llwebrtc/CMakeLists.txt
index 425376d248..21ce222aea 100644
--- a/indra/llwebrtc/CMakeLists.txt
+++ b/indra/llwebrtc/CMakeLists.txt
@@ -28,9 +28,11 @@ list(APPEND llwebrtc_SOURCE_FILES ${llwebrtc_HEADER_FILES})
add_library (llwebrtc SHARED ${llwebrtc_SOURCE_FILES})
-if (NOT INSTALL)
+if (USESYSTEMLIBS)
+target_compile_definitions(llwebrtc INTERFACE LL_WEBRTC=1)
+else (USESYSTEMLIBS)
set_target_properties(llwebrtc PROPERTIES PUBLIC_HEADER llwebrtc.h)
-endif ()
+endif (USESYSTEMLIBS)
if (WINDOWS)
cmake_policy(SET CMP0091 NEW)