summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-12-12 16:34:17 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-12-12 16:34:17 (GMT)
commit129299f90066b6aa83ebb027caa51b0abb724366 (patch)
treebec1d23444cf8d4f9700fda041aa0a4e04a88fb4 /Source
parentb08a9e350892663064033c2805ec022450e0ebcf (diff)
downloadCMake-129299f90066b6aa83ebb027caa51b0abb724366.zip
CMake-129299f90066b6aa83ebb027caa51b0abb724366.tar.gz
CMake-129299f90066b6aa83ebb027caa51b0abb724366.tar.bz2
ENH: fix for bug 2584, empty source groups with children skipped
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index c04a223..83c3497 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -1016,7 +1016,7 @@ void cmLocalVisualStudio7Generator::WriteGroup(const cmSourceGroup *sg, cmTarget
const std::vector<const cmSourceFile *> &sourceFiles =
sg->GetSourceFiles();
// If the group is empty, don't write it at all.
- if(sourceFiles.empty())
+ if(sourceFiles.empty() && sg->GetGroupChildren().empty())
{
return;
}