BUG: fix for 6720, source groups on vs6 not working

This commit is contained in:
Bill Hoffman 2008-04-21 18:24:56 -04:00
parent 0a0672c01f
commit 21ad82a21b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}