summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackZIPGenerator.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/cmCPackZIPGenerator.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/cmCPackZIPGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackZIPGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackZIPGenerator.cxx b/Source/CPack/cmCPackZIPGenerator.cxx
index 8297cc4..d8ad47f 100644
--- a/Source/CPack/cmCPackZIPGenerator.cxx
+++ b/Source/CPack/cmCPackZIPGenerator.cxx
@@ -79,7 +79,7 @@ int cmCPackZIPGenerator::InitializeInternal()
<< std::endl);
return 0;
}
- this->SetOption("CPACK_INSTALLER_PROGRAM", pkgPath.c_str());
+ this->SetOptionIfNotSet("CPACK_INSTALLER_PROGRAM", pkgPath.c_str());
cmCPackLogger(cmCPackLog::LOG_VERBOSE, "Found ZIP program: "
<< pkgPath.c_str()
<< std::endl);