diff options
author | Raffi Enficiaud <raffi.enficiaud@mines-paris.org> | 2015-09-21 23:57:44 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2015-09-21 23:57:44 (GMT) |
commit | 47b060aee0871bdb5fea63b398a1f1cb07fa3b37 (patch) | |
tree | ab90acc14850556e376b8d8733699341c3428152 /Source/CPack/cmCPackDebGenerator.cxx | |
parent | cec45e27f6dc2657b00902bcaef5bd93ae16ead7 (diff) | |
download | CMake-47b060aee0871bdb5fea63b398a1f1cb07fa3b37.zip CMake-47b060aee0871bdb5fea63b398a1f1cb07fa3b37.tar.gz CMake-47b060aee0871bdb5fea63b398a1f1cb07fa3b37.tar.bz2 |
CPackDeb: allow empty directories in component packages
Diffstat (limited to 'Source/CPack/cmCPackDebGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackDebGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx index 5cdab52..93c94e2 100644 --- a/Source/CPack/cmCPackDebGenerator.cxx +++ b/Source/CPack/cmCPackDebGenerator.cxx @@ -95,6 +95,7 @@ int cmCPackDebGenerator::PackageOnePack(std::string initialTopLevel, std::string findExpr(this->GetOption("GEN_WDIR")); findExpr += "/*"; gl.RecurseOn(); + gl.SetRecurseListDirs(true); if ( !gl.FindFiles(findExpr) ) { cmCPackLogger(cmCPackLog::LOG_ERROR, @@ -222,6 +223,7 @@ int cmCPackDebGenerator::PackageComponentsAllInOne() std::string findExpr(this->GetOption("GEN_WDIR")); findExpr += "/*"; gl.RecurseOn(); + gl.SetRecurseListDirs(true); if ( !gl.FindFiles(findExpr) ) { cmCPackLogger(cmCPackLog::LOG_ERROR, |