summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackDebGenerator.cxx
diff options
context:
space:
mode:
authorRaffi Enficiaud <raffi.enficiaud@mines-paris.org>2015-09-28 21:23:05 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2015-09-28 23:18:04 (GMT)
commit749a140a0c635dca69e03245bfd6e0f2f4f43753 (patch)
tree12a0e56ee90e9334e2c0a38f8b6bbde560146f42 /Source/CPack/cmCPackDebGenerator.cxx
parent6c6a8c5d5a648b5847042f55fd36ba9a51b0166a (diff)
downloadCMake-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.cxx2
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,