diff options
author | Raffi Enficiaud <raffi.enficiaud@mines-paris.org> | 2015-09-28 21:23:05 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2015-09-28 23:18:04 (GMT) |
commit | 749a140a0c635dca69e03245bfd6e0f2f4f43753 (patch) | |
tree | 12a0e56ee90e9334e2c0a38f8b6bbde560146f42 /Source/CPack/cmCPackDebGenerator.cxx | |
parent | 6c6a8c5d5a648b5847042f55fd36ba9a51b0166a (diff) | |
download | CMake-749a140a0c635dca69e03245bfd6e0f2f4f43753.zip CMake-749a140a0c635dca69e03245bfd6e0f2f4f43753.tar.gz CMake-749a140a0c635dca69e03245bfd6e0f2f4f43753.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, |