diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-08-28 12:30:04 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-08-28 12:30:04 +0800 |
commit | ff6c034db9d5a7a881b9b51f0ff2b5417856baa8 (patch) | |
tree | 08309ca48e63a583f80d39b83c7a6a8368b8e4fb /indra/newview/CMakeLists.txt | |
parent | 659a7c9226018870b3a971c8e373d8cc530bb796 (diff) |
Disable WebRTC on Fedora and openSUSE Tumbleweed
It breaks CEF on these platforms.
Diffstat (limited to 'indra/newview/CMakeLists.txt')
-rw-r--r-- | indra/newview/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 30af384c7c..bf190f1e95 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -741,7 +741,7 @@ set(viewer_SOURCE_FILES pipeline.cpp ) -if (CMAKE_SYSTEM_NAME MATCHES FreeBSD) +if (LINUX OR CMAKE_SYSTEM_NAME MATCHES FreeBSD) list(REMOVE_ITEM viewer_SOURCE_FILES llvoicewebrtc.cpp) endif () @@ -1950,9 +1950,9 @@ target_link_libraries(${VIEWER_BINARY_NAME} ll::tracy ) -if (NOT CMAKE_SYSTEM_NAME MATCHES FreeBSD) +if (NOT (${LINUX_DISTRO} MATCHES fedora OR (${LINUX_DISTRO} MATCHES opensuse-tumbleweed) OR CMAKE_SYSTEM_NAME MATCHES FreeBSD)) target_link_libraries(${VIEWER_BINARY_NAME} llwebrtc ) -endif () +endif (NOT (${LINUX_DISTRO} MATCHES fedora OR (${LINUX_DISTRO} MATCHES opensuse-tumbleweed) OR CMAKE_SYSTEM_NAME MATCHES FreeBSD)) if (ENABLE_MEDIA_PLUGINS) target_link_libraries(${VIEWER_BINARY_NAME} ll::libvlc ) |