cmGlobalGenerator: Create cmGeneratorTargets earlier.

This commit is contained in:
Stephen Kelly
2015-07-27 21:58:49 +02:00
parent 611220f77a
commit de80993a20
+1 -1
View File
@@ -1240,6 +1240,7 @@ void cmGlobalGenerator::Generate()
AutogensType autogens;
this->CreateQtAutoGeneratorsTargets(autogens);
#endif
this->CreateGenerationObjects();
unsigned int i;
@@ -1254,7 +1255,6 @@ void cmGlobalGenerator::Generate()
this->LocalGenerators[i]->AddHelperCommands();
}
this->CreateGenerationObjects();
this->InitGeneratorTargets();
#ifdef CMAKE_BUILD_WITH_CMAKE