summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/CMakeLists.txt
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-09-27 21:23:07 +0800
committerErik Kundiman <erik@megapahit.org>2024-09-27 21:47:23 +0800
commit82b0fe56709516125c3e8d41fbd46161a8c0cc4a (patch)
tree330c0f759d33bf4190390c4a018b853d7dca9f85 /indra/llwebrtc/CMakeLists.txt
parentb1618e3dec369ccd44d92e9947c38e38c154f7f1 (diff)
Make linking to ll::webrtc more generic
for platforms other than Windows, macOS, and GNU/Linux, except for FreeBSD.
Diffstat (limited to 'indra/llwebrtc/CMakeLists.txt')
-rw-r--r--indra/llwebrtc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwebrtc/CMakeLists.txt b/indra/llwebrtc/CMakeLists.txt
index 9f050daa77..939dc96dda 100644
--- a/indra/llwebrtc/CMakeLists.txt
+++ b/indra/llwebrtc/CMakeLists.txt
@@ -58,7 +58,7 @@ elseif (DARWIN)
set_target_properties(llwebrtc PROPERTIES XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT "dwarf-with-dsym"
XCODE_ATTRIBUTE_DWARF_DSYM_FOLDER_PATH "${SYMBOLS_STAGING_DIR}/dSYMs")
endif (USE_BUGSPLAT)
-elseif (LINUX)
+elseif (NOT CMAKE_SYSTEM_NAME MATCHES FreeBSD)
target_link_libraries(llwebrtc PRIVATE ll::webrtc)
endif (WINDOWS)