summaryrefslogtreecommitdiff
path: root/indra/llplugin
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-07-10 21:50:00 +0800
committerErik Kundiman <erik@megapahit.org>2024-07-10 21:50:00 +0800
commit4390609584487896c58e3a9e79d2a56116336322 (patch)
tree19dc659d4e3fb53d57fbca0a6446ae051b157d76 /indra/llplugin
parent05c26d2e074f8210f205a674d7fb374e5f96e176 (diff)
`cpack -G Bundle` instead of `make install` on Mac
Root project finally renamed to Megapahit, which has a nice effect of CPack: - Run preinstall target for: Megapahit CPack: - Install project: Megapahit [] but it's really because CPack Bundle file couldn't be renamed via CPACK_PACKAGE_NAME like on DEB, RPM, and FREEBSD. CPack determines its own destination root folder, which is Resources (I didn't find a way to set it to Contents). fixup_bundle is now run on the .app deep inside CPack staging folders so that the dependency copies will be included in the DMG.
Diffstat (limited to 'indra/llplugin')
-rw-r--r--indra/llplugin/slplugin/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llplugin/slplugin/CMakeLists.txt b/indra/llplugin/slplugin/CMakeLists.txt
index 46e63e473c..3ad6d10336 100644
--- a/indra/llplugin/slplugin/CMakeLists.txt
+++ b/indra/llplugin/slplugin/CMakeLists.txt
@@ -67,7 +67,7 @@ endif ()
if (INSTALL)
if (DARWIN)
- install(TARGETS ${PROJECT_NAME} DESTINATION Resources)
+ install(TARGETS ${PROJECT_NAME} DESTINATION .)
else (DARWIN)
install(TARGETS ${PROJECT_NAME} DESTINATION libexec/${VIEWER_BINARY_NAME})
endif (DARWIN)