diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-25 20:31:21 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-25 20:31:21 (GMT) |
commit | c3078abfe592b5325dcd0b28ef9594c9505d1263 (patch) | |
tree | bbbf801f7bfb0491890b08c1c3e393930b6e5af7 /Source | |
parent | 8d3d137dc9b97e9c8acc5357572eea7ff0337014 (diff) | |
download | CMake-c3078abfe592b5325dcd0b28ef9594c9505d1263.zip CMake-c3078abfe592b5325dcd0b28ef9594c9505d1263.tar.gz CMake-c3078abfe592b5325dcd0b28ef9594c9505d1263.tar.bz2 |
ENH: fix global help
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index ee5279e..4efebaa 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -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) || |