summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index a8e7e1b..3ddac13 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -358,7 +358,7 @@ void cmLocalVisualStudio6Generator
sg->GetSourceFiles();
// If the group is empty, don't write it at all.
- if(sourceFiles.empty())
+ if(sourceFiles.empty() && sg->GetGroupChildren().empty())
{
return;
}