summaryrefslogtreecommitdiff
path: root/indra/newview/ViewerInstall.cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-26 22:49:23 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-26 22:49:23 +0800
commit0b62583eb7dd6e193d5daa2e24646bbb9f3c74e5 (patch)
treecc9dee5d964cf60e22ee1e7e9703eabdae4f6fd5 /indra/newview/ViewerInstall.cmake
parentb0428375e14c4c9e6bc9dc723bdc94983d3dde6b (diff)
Make using the system browser for links works
First, in order for launch_url.sh to be executable, it needs to be installed as a program. Secondly, the spawn browser command path needs to be adjusted accordingly. And last, add chrome (applies to chromium too on FBSD), to the list of browser commands to try (so chrome wasn't there :/, but dillo has always been XD, and that's why it kept opening Dillo here haha).
Diffstat (limited to 'indra/newview/ViewerInstall.cmake')
-rw-r--r--indra/newview/ViewerInstall.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/ViewerInstall.cmake b/indra/newview/ViewerInstall.cmake
index 43d3060bb9..8cbe8bd186 100644
--- a/indra/newview/ViewerInstall.cmake
+++ b/indra/newview/ViewerInstall.cmake
@@ -2,7 +2,11 @@ install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${VIEWER_BINARY_NAME}
DESTINATION bin
)
-install(DIRECTORY skins app_settings linux_tools fonts
+install(PROGRAMS linux_tools/launch_url.sh
+ DESTINATION libexec/${VIEWER_BINARY_NAME}
+ )
+
+install(DIRECTORY skins app_settings fonts
DESTINATION share/${VIEWER_BINARY_NAME}
PATTERN ".svn" EXCLUDE
)