diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-12-01 18:53:58 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-12-01 18:53:58 +0800 |
commit | e561067b7fa381474a08dcd3dbd88fd9ca9f3936 (patch) | |
tree | 78040764a19687b4bb2101fe805e32b3e1001382 /indra/media_plugins | |
parent | 999783f3344729e4ccbd46846118eef964537a75 (diff) |
Move libexec binaries to /usr/lib/megapahit on Arch
as in Arch, there's really no /usr/libexec.
Diffstat (limited to 'indra/media_plugins')
-rw-r--r-- | indra/media_plugins/cef/CMakeLists.txt | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/indra/media_plugins/cef/CMakeLists.txt b/indra/media_plugins/cef/CMakeLists.txt index 4ca43e06b7..3799fa41ac 100644 --- a/indra/media_plugins/cef/CMakeLists.txt +++ b/indra/media_plugins/cef/CMakeLists.txt @@ -150,13 +150,23 @@ if (INSTALL) else (EXISTS ${CMAKE_SYSROOT}/usr/lib/${ARCH}-linux-gnu) set(_LIB lib) endif (EXISTS ${CMAKE_SYSROOT}/usr/lib/${ARCH}-linux-gnu) - install( - PROGRAMS - ${AUTOBUILD_INSTALL_DIR}/bin/release/chrome-sandbox - ${AUTOBUILD_INSTALL_DIR}/bin/release/dullahan_host - DESTINATION libexec/${VIEWER_BINARY_NAME} - #PERMISSIONS SETUID OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE - ) + if (${LINUX_DISTRO} MATCHES arch) + install( + PROGRAMS + ${AUTOBUILD_INSTALL_DIR}/bin/release/chrome-sandbox + ${AUTOBUILD_INSTALL_DIR}/bin/release/dullahan_host + DESTINATION lib/${VIEWER_BINARY_NAME} + #PERMISSIONS SETUID OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE + ) + else (${LINUX_DISTRO} MATCHES arch) + install( + PROGRAMS + ${AUTOBUILD_INSTALL_DIR}/bin/release/chrome-sandbox + ${AUTOBUILD_INSTALL_DIR}/bin/release/dullahan_host + DESTINATION libexec/${VIEWER_BINARY_NAME} + #PERMISSIONS SETUID OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE + ) + endif (${LINUX_DISTRO} MATCHES arch) install( FILES ${AUTOBUILD_INSTALL_DIR}/lib/release/libcef.so |