summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-28 12:30:04 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-28 12:30:04 +0800
commitff6c034db9d5a7a881b9b51f0ff2b5417856baa8 (patch)
tree08309ca48e63a583f80d39b83c7a6a8368b8e4fb /indra/cmake
parent659a7c9226018870b3a971c8e373d8cc530bb796 (diff)
Disable WebRTC on Fedora and openSUSE Tumbleweed
It breaks CEF on these platforms.
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/WebRTC.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/cmake/WebRTC.cmake b/indra/cmake/WebRTC.cmake
index 79d8d30991..ab35f5149d 100644
--- a/indra/cmake/WebRTC.cmake
+++ b/indra/cmake/WebRTC.cmake
@@ -6,6 +6,7 @@ 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")
+target_compile_definitions( ll::webrtc INTERFACE LL_WEBRTC=1)
if (CMAKE_OSX_ARCHITECTURES MATCHES arm64)
if (${PREBUILD_TRACKING_DIR}/sentinel_installed IS_NEWER_THAN ${PREBUILD_TRACKING_DIR}/webrtc_installed OR NOT ${webrtc_installed} EQUAL 0)
if (NOT EXISTS ${CMAKE_BINARY_DIR}/libwebrtc-macos-arm64.tar.xz)