summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackPackageMakerGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-05-02 12:49:01 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-05-02 12:49:01 (GMT)
commit2324e7ec5d1c22a94a7c368c182becc451f52c57 (patch)
treee7e275b58a40de1a383b32ed2d807b009e7df0b9 /Source/CPack/cmCPackPackageMakerGenerator.cxx
parent3eea1990f51ef8d8a2c1e006a4f2fe089a64b836 (diff)
downloadCMake-2324e7ec5d1c22a94a7c368c182becc451f52c57.zip
CMake-2324e7ec5d1c22a94a7c368c182becc451f52c57.tar.gz
CMake-2324e7ec5d1c22a94a7c368c182becc451f52c57.tar.bz2
ENH: Add support for stipping and make more things overwritable
Diffstat (limited to 'Source/CPack/cmCPackPackageMakerGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackPackageMakerGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackPackageMakerGenerator.cxx b/Source/CPack/cmCPackPackageMakerGenerator.cxx
index 1d6cb35..dff1413 100644
--- a/Source/CPack/cmCPackPackageMakerGenerator.cxx
+++ b/Source/CPack/cmCPackPackageMakerGenerator.cxx
@@ -213,7 +213,7 @@ int cmCPackPackageMakerGenerator::InitializeInternal()
<< std::endl);
return 0;
}
- this->SetOption("CPACK_INSTALLER_PROGRAM", pkgPath.c_str());
+ this->SetOptionIfNotSet("CPACK_INSTALLER_PROGRAM", pkgPath.c_str());
pkgPath = cmSystemTools::FindProgram("hdiutil", path, false);
if ( pkgPath.empty() )
{
@@ -221,7 +221,7 @@ int cmCPackPackageMakerGenerator::InitializeInternal()
<< std::endl);
return 0;
}
- this->SetOption("CPACK_INSTALLER_PROGRAM_DISK_IMAGE", pkgPath.c_str());
+ this->SetOptionIfNotSet("CPACK_INSTALLER_PROGRAM_DISK_IMAGE", pkgPath.c_str());
return this->Superclass::InitializeInternal();
}