diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-02 10:57:06 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-07 02:10:29 (GMT) |
commit | c5b8841fd96727a290e148e8b5132f893f8b4d4e (patch) | |
tree | cd22fe96f3d4caa8c83f3f6d085af4aa360c5279 | |
parent | 8f75ea3b5e0b43118a6ecba4dc11a583d287705c (diff) | |
download | CMake-c5b8841fd96727a290e148e8b5132f893f8b4d4e.zip CMake-c5b8841fd96727a290e148e8b5132f893f8b4d4e.tar.gz CMake-c5b8841fd96727a290e148e8b5132f893f8b4d4e.tar.bz2 |
cmGlobalGenerator: Create global targets from cmMakefiles.
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index f96cf21..8645317 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -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 ) |