diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-08-26 15:46:12 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-08-26 15:46:12 +0800 |
commit | 00be9e00107c51a35c04f64fe917c559b8325564 (patch) | |
tree | e7aebc8ad6e398da3a5e475a1983368749eeafb0 /indra/media_plugins/libvlc | |
parent | a09352872b2f1a9db452d9cc313088abd5fb75c0 (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.txt | 3 |
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 () |