summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackPackageMakerGenerator.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2013-11-02 16:24:53 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2016-06-03 20:41:57 (GMT)
commit2e3c67d1b636f752eea35ef407c5243a79742d63 (patch)
tree9398330039272daa72dbb35c18b0d480f01c3364 /Source/CPack/cmCPackPackageMakerGenerator.cxx
parent50a3d34005ec923db3d76d0a5d118437a7632617 (diff)
downloadCMake-2e3c67d1b636f752eea35ef407c5243a79742d63.zip
CMake-2e3c67d1b636f752eea35ef407c5243a79742d63.tar.gz
CMake-2e3c67d1b636f752eea35ef407c5243a79742d63.tar.bz2
productbuild: Add new productbuild cpack generator.
This cpack generator basically replaces the obsolete PackageMaker generator.
Diffstat (limited to 'Source/CPack/cmCPackPackageMakerGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackPackageMakerGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackPackageMakerGenerator.cxx b/Source/CPack/cmCPackPackageMakerGenerator.cxx
index e50c2e6..5bb24c0 100644
--- a/Source/CPack/cmCPackPackageMakerGenerator.cxx
+++ b/Source/CPack/cmCPackPackageMakerGenerator.cxx
@@ -329,6 +329,8 @@ int cmCPackPackageMakerGenerator::PackageFiles()
int cmCPackPackageMakerGenerator::InitializeInternal()
{
+ this->SetOptionIfNotSet("CPACK_PACKAGING_INSTALL_PREFIX", "/usr");
+
// Starting with Xcode 4.3, PackageMaker is a separate app, and you
// can put it anywhere you want. So... use a variable for its location.
// People who put it in unexpected places can use the variable to tell