summaryrefslogtreecommitdiff
path: root/indra/cmake/UnixInstall.cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-12-01 18:56:37 +0800
committerErik Kundiman <erik@megapahit.org>2024-12-01 18:56:37 +0800
commit99337674245aca9b01a4346b7f6bd5822c119168 (patch)
tree53822bf1b33aca06143af1cc028c07d8a8b9a706 /indra/cmake/UnixInstall.cmake
parent23b0047007276957888d9d473bf9e63b3c164426 (diff)
parente561067b7fa381474a08dcd3dbd88fd9ca9f3936 (diff)
Merge branch 'main' into 2024.09-ExtraFPS
Diffstat (limited to 'indra/cmake/UnixInstall.cmake')
-rw-r--r--indra/cmake/UnixInstall.cmake12
1 files changed, 9 insertions, 3 deletions
diff --git a/indra/cmake/UnixInstall.cmake b/indra/cmake/UnixInstall.cmake
index 0751e1caa5..c925376e63 100644
--- a/indra/cmake/UnixInstall.cmake
+++ b/indra/cmake/UnixInstall.cmake
@@ -35,7 +35,13 @@ if (INSTALL)
set(APP_SHARE_DIR ${INSTALL_SHARE_DIR}/${VIEWER_BINARY_NAME}
CACHE PATH
"Installation directory for read-only data files.")
- set(APP_LIBEXEC_DIR ${INSTALL_PREFIX}/libexec/${VIEWER_BINARY_NAME}
- CACHE PATH
- "Installation directory for non-manual executables.")
+ if (${LINUX_DISTRO} MATCHES arch)
+ set(APP_LIBEXEC_DIR ${INSTALL_PREFIX}/lib/${VIEWER_BINARY_NAME}
+ CACHE PATH
+ "Installation directory for non-manual executables.")
+ else (${LINUX_DISTRO} MATCHES arch)
+ set(APP_LIBEXEC_DIR ${INSTALL_PREFIX}/libexec/${VIEWER_BINARY_NAME}
+ CACHE PATH
+ "Installation directory for non-manual executables.")
+ endif (${LINUX_DISTRO} MATCHES arch)
endif (INSTALL)