From e561067b7fa381474a08dcd3dbd88fd9ca9f3936 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sun, 1 Dec 2024 18:53:58 +0800 Subject: Move libexec binaries to /usr/lib/megapahit on Arch as in Arch, there's really no /usr/libexec. --- indra/newview/ViewerInstall.cmake | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'indra/newview/ViewerInstall.cmake') 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) -- cgit v1.2.3