ENH: fix global help

This commit is contained in:
Bill Hoffman 2006-04-25 16:31:21 -04:00
parent 8d3d137dc9
commit c3078abfe5
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule
if (lg2 == lg || !lg->GetParent())
{
// for each target Generate the rule files for each target.
cmTargets& targets = lg->GetMakefile()->GetTargets();
cmTargets& targets = lg2->GetMakefile()->GetTargets();
for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t)
{
if((t->second.GetType() == cmTarget::EXECUTABLE) ||