summaryrefslogtreecommitdiff
path: root/Modules/CPack.Info.plist.in
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2007-12-26 16:57:13 -0500
committerDavid Cole <david.cole@kitware.com>2007-12-26 16:57:13 -0500
commit764f6838a75edd42c4b78dd50c539896790b2229 (patch)
tree112e848b9a9d59d63956fdbdb047df1430f967c4 /Modules/CPack.Info.plist.in
parentad788fe4c8915a3ef71e1bdf09d124dace4b78ca (diff)
downloadcmake-764f6838a75edd42c4b78dd50c539896790b2229.tar.gz
ENH: Give Mac installers package relocation capability. Default location is still the same for backwards compatibility, but packages will now be relocatable by default like they are on Windows via the NSIS installer. New CPack variables for controlling this functionality are CPACK_PACKAGE_DEFAULT_LOCATION and CPACK_PACKAGE_RELOCATABLE.
Diffstat (limited to 'Modules/CPack.Info.plist.in')
-rw-r--r--Modules/CPack.Info.plist.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CPack.Info.plist.in b/Modules/CPack.Info.plist.in
index 58dabad8ea..da4872b677 100644
--- a/Modules/CPack.Info.plist.in
+++ b/Modules/CPack.Info.plist.in
@@ -12,7 +12,7 @@
<key>IFPkgFlagAuthorizationAction</key>
<string>AdminAuthorization</string>
<key>IFPkgFlagDefaultLocation</key>
-<string>/</string>
+<string>@CPACK_PACKAGE_DEFAULT_LOCATION@</string>
<key>IFPkgFlagInstallFat</key>
<false/>
<key>IFPkgFlagIsRequired</key>
@@ -20,7 +20,7 @@
<key>IFPkgFlagOverwritePermissions</key>
<true/>
<key>IFPkgFlagRelocatable</key>
-<false/>
+<@CPACK_PACKAGE_RELOCATABLE@/>
<key>IFPkgFlagRestartAction</key>
<string>NoRestart</string>
<key>IFPkgFlagRootVolumeOnly</key>