summaryrefslogtreecommitdiff
path: root/indra/media_plugins/libvlc
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-26 15:46:12 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-26 15:46:12 +0800
commit00be9e00107c51a35c04f64fe917c559b8325564 (patch)
treee7aebc8ad6e398da3a5e475a1983368749eeafb0 /indra/media_plugins/libvlc
parenta09352872b2f1a9db452d9cc313088abd5fb75c0 (diff)
CPack for packaging (when PACKAGE set to on)
Since we could use the dynamic versioning from the configuration phase of CMake, the inclusion is put in BuildVersion.cmake. Other CPACK variables are usually static so can be set when running cmake. CPack somehow doesn't pick up the DESTINATION values in ViewerInstall (slplugin & libvlc too) from UnixInstall, so they're they're partially hardcoded again there.
Diffstat (limited to 'indra/media_plugins/libvlc')
-rw-r--r--indra/media_plugins/libvlc/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/media_plugins/libvlc/CMakeLists.txt b/indra/media_plugins/libvlc/CMakeLists.txt
index cdaf3efbfa..84fac1634c 100644
--- a/indra/media_plugins/libvlc/CMakeLists.txt
+++ b/indra/media_plugins/libvlc/CMakeLists.txt
@@ -57,5 +57,6 @@ if (DARWIN)
endif (DARWIN)
if (INSTALL)
- install(TARGETS ${PROJECT_NAME} DESTINATION ${APP_LIBEXEC_DIR}/llplugin)
+ install(TARGETS ${PROJECT_NAME} DESTINATION
+ libexec/${VIEWER_BINARY_NAME}/llplugin)
endif ()