summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-04-21 22:24:56 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-04-21 22:24:56 (GMT)
commit21ad82a21b4e05262a126441da57115b29e1da18 (patch)
treeae3e7b2b108793a3ce5bc57a73d93c064f0ef51c /Source/cmLocalVisualStudio6Generator.cxx
parent0a0672c01f784e67a0de9de0a8633c0c16bf7749 (diff)
downloadCMake-21ad82a21b4e05262a126441da57115b29e1da18.zip
CMake-21ad82a21b4e05262a126441da57115b29e1da18.tar.gz
CMake-21ad82a21b4e05262a126441da57115b29e1da18.tar.bz2
BUG: fix for 6720, source groups on vs6 not working
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;
}