diff options
| author | Erik Kundiman <erik@megapahit.org> | 2026-05-26 17:16:38 +0700 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2026-05-26 17:38:42 +0700 |
| commit | 4989aa911c5bfa39ab056e1481cde4190db3ae8e (patch) | |
| tree | 770007f0d417ad72aea711eebcfc966e2eef6649 /indra/cmake/UnixInstall.cmake | |
| parent | 63332f4db61b6146947051f085d6c1b72e4c7898 (diff) | |
Install dynamic libs, etc in folder on Linux & BSD
This includes files of WebRTC, Discord, VLC & CEF and their media
plugins & resources.
This is so they won't clash just in case some other packages install
files with the same names in system library directories.
Furthermore, this seems to prevent Dullahan/CEF from breaking in
general.
The path to this encapsulating folder needs to be added as a runtime
path to especially dullahan_host & libmedia_plugin_cef.so so they can
find libcef.so etc, also for the viewer to find libllwebrtc.so &
libdiscord_partner_sdk.so. And that's why `patchelf` needs to be made
sure it's installed.
Diffstat (limited to 'indra/cmake/UnixInstall.cmake')
| -rw-r--r-- | indra/cmake/UnixInstall.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/UnixInstall.cmake b/indra/cmake/UnixInstall.cmake index 1fd17a0142..b82cbbcc2f 100644 --- a/indra/cmake/UnixInstall.cmake +++ b/indra/cmake/UnixInstall.cmake @@ -22,8 +22,8 @@ if (INSTALL) set(_LIB lib) endif () - set(INSTALL_LIBRARY_DIR ${INSTALL_PREFIX}/${_LIB} CACHE PATH - "Installation directory for read-only shared files.") + set(INSTALL_LIBRARY_DIR ${INSTALL_PREFIX}/${_LIB}/${VIEWER_BINARY_NAME} CACHE PATH + "Installation directory for dynamic library files and their resources.") set(INSTALL_SHARE_DIR ${INSTALL_PREFIX}/share CACHE PATH "Installation directory for read-only shared files.") |
