diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-04-02 15:20:58 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-04-02 15:20:58 (GMT) |
commit | d342d51c0cc2ab2dc0f1053817a5a98b14a3fcf4 (patch) | |
tree | 31ee8a0969c5a3538d178a9dfa207f6fc26838dd /Source/CPack/cmCPackPackageMakerGenerator.cxx | |
parent | c0fe6aa97af5fa668fecf839e3baaafe4ffc2ad0 (diff) | |
download | CMake-d342d51c0cc2ab2dc0f1053817a5a98b14a3fcf4.zip CMake-d342d51c0cc2ab2dc0f1053817a5a98b14a3fcf4.tar.gz CMake-d342d51c0cc2ab2dc0f1053817a5a98b14a3fcf4.tar.bz2 |
ENH: Add ZIP generator and add support for including or excluding the toplevel directory
Diffstat (limited to 'Source/CPack/cmCPackPackageMakerGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackPackageMakerGenerator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackPackageMakerGenerator.cxx b/Source/CPack/cmCPackPackageMakerGenerator.cxx index dbce2f1..b667415 100644 --- a/Source/CPack/cmCPackPackageMakerGenerator.cxx +++ b/Source/CPack/cmCPackPackageMakerGenerator.cxx @@ -140,6 +140,10 @@ int cmCPackPackageMakerGenerator::CompressFiles(const char* outFileName, int cmCPackPackageMakerGenerator::Initialize(const char* name, cmMakefile* mf) { int res = this->Superclass::Initialize(name, mf); + if ( !res ) + { + return res; + } cmCPackLogger(cmCPackLog::LOG_DEBUG, "cmCPackPackageMakerGenerator::Initialize()" << std::endl); std::vector<std::string> path; |