summaryrefslogtreecommitdiff
path: root/indra/newview/ViewerInstall.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/newview/ViewerInstall.cmake
parent23b0047007276957888d9d473bf9e63b3c164426 (diff)
parente561067b7fa381474a08dcd3dbd88fd9ca9f3936 (diff)
Merge branch 'main' into 2024.09-ExtraFPS
Diffstat (limited to 'indra/newview/ViewerInstall.cmake')
-rw-r--r--indra/newview/ViewerInstall.cmake12
1 files changed, 9 insertions, 3 deletions
diff --git a/indra/newview/ViewerInstall.cmake b/indra/newview/ViewerInstall.cmake
index 557cfe7021..7fb2f6a6fa 100644
--- a/indra/newview/ViewerInstall.cmake
+++ b/indra/newview/ViewerInstall.cmake
@@ -90,9 +90,15 @@ install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${VIEWER_BINARY_NAME}
DESTINATION bin
)
-install(PROGRAMS linux_tools/launch_url.sh
- DESTINATION libexec/${VIEWER_BINARY_NAME}
- )
+if (${LINUX_DISTRO} MATCHES arch)
+ install(PROGRAMS linux_tools/launch_url.sh
+ DESTINATION lib/${VIEWER_BINARY_NAME}
+ )
+else (${LINUX_DISTRO} MATCHES arch)
+ install(PROGRAMS linux_tools/launch_url.sh
+ DESTINATION libexec/${VIEWER_BINARY_NAME}
+ )
+endif (${LINUX_DISTRO} MATCHES arch)
if (LINUX)
if (EXISTS ${CMAKE_SYSROOT}/usr/lib/${ARCH}-linux-gnu)