ENH: fix global help
This commit is contained in:
parent
8d3d137dc9
commit
c3078abfe5
|
@ -823,7 +823,7 @@ void cmGlobalUnixMakefileGenerator3::WriteHelpRule
|
||||||
if (lg2 == lg || !lg->GetParent())
|
if (lg2 == lg || !lg->GetParent())
|
||||||
{
|
{
|
||||||
// for each target Generate the rule files for each target.
|
// 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)
|
for(cmTargets::iterator t = targets.begin(); t != targets.end(); ++t)
|
||||||
{
|
{
|
||||||
if((t->second.GetType() == cmTarget::EXECUTABLE) ||
|
if((t->second.GetType() == cmTarget::EXECUTABLE) ||
|
||||||
|
|
Loading…
Reference in New Issue