cmGlobalGenerator: Create global targets from cmMakefiles.

This commit is contained in:
Stephen Kelly 2015-08-02 12:57:06 +02:00
parent 8f75ea3b5e
commit c5b8841fd9

View File

@ -1193,9 +1193,9 @@ void cmGlobalGenerator::Configure()
cmTargets globalTargets;
this->CreateDefaultGlobalTargets(&globalTargets);
for (i = 0; i < this->LocalGenerators.size(); ++i)
for (i = 0; i < this->Makefiles.size(); ++i)
{
cmMakefile* mf = this->LocalGenerators[i]->GetMakefile();
cmMakefile* mf = this->Makefiles[i];
cmTargets* targets = &(mf->GetTargets());
cmTargets::iterator tit;
for ( tit = globalTargets.begin(); tit != globalTargets.end(); ++ tit )