summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-12 15:28:13 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-12 15:28:13 +0800
commit19d47a44d97a3b4fdd84cef9732e79d2708e4c12 (patch)
tree8db4fcae9c6323933100048128bd948f95fbcee9 /indra/cmake
parent0f72582a734dcd585627341ddb16678d18e373ac (diff)
Remove unnecessary LINUX condition in Fedora test
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/CEFPlugin.cmake14
1 files changed, 6 insertions, 8 deletions
diff --git a/indra/cmake/CEFPlugin.cmake b/indra/cmake/CEFPlugin.cmake
index 3cf753e69d..24d76b03e7 100644
--- a/indra/cmake/CEFPlugin.cmake
+++ b/indra/cmake/CEFPlugin.cmake
@@ -37,14 +37,12 @@ elseif (CMAKE_OSX_ARCHITECTURES MATCHES x86_64)
endif (${PREBUILD_TRACKING_DIR}/sentinel_installed IS_NEWER_THAN ${PREBUILD_TRACKING_DIR}/dullahan_installed OR NOT ${dullahan_installed} EQUAL 0)
else (CMAKE_OSX_ARCHITECTURES MATCHES arm64)
use_prebuilt_binary(dullahan)
- if (LINUX)
- if (${LINUX_DISTRO} MATCHES fedora)
- execute_process(
- COMMAND patchelf --remove-rpath bin/release/dullahan_host
- WORKING_DIRECTORY ${AUTOBUILD_INSTALL_DIR}
- )
- endif (${LINUX_DISTRO} MATCHES fedora)
- endif (LINUX)
+ if (${LINUX_DISTRO} MATCHES fedora)
+ execute_process(
+ COMMAND patchelf --remove-rpath bin/release/dullahan_host
+ WORKING_DIRECTORY ${AUTOBUILD_INSTALL_DIR}
+ )
+ endif (${LINUX_DISTRO} MATCHES fedora)
endif (CMAKE_OSX_ARCHITECTURES MATCHES arm64)
target_include_directories( ll::cef SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/cef)