cmGlobalGenerator: Create cmGeneratorTargets earlier.

This commit is contained in:
Stephen Kelly 2015-07-25 20:58:55 +02:00
parent 611220f77a
commit de80993a20
1 changed files with 1 additions and 1 deletions

View File

@ -1240,6 +1240,7 @@ void cmGlobalGenerator::Generate()
AutogensType autogens; AutogensType autogens;
this->CreateQtAutoGeneratorsTargets(autogens); this->CreateQtAutoGeneratorsTargets(autogens);
#endif #endif
this->CreateGenerationObjects();
unsigned int i; unsigned int i;
@ -1254,7 +1255,6 @@ void cmGlobalGenerator::Generate()
this->LocalGenerators[i]->AddHelperCommands(); this->LocalGenerators[i]->AddHelperCommands();
} }
this->CreateGenerationObjects();
this->InitGeneratorTargets(); this->InitGeneratorTargets();
#ifdef CMAKE_BUILD_WITH_CMAKE #ifdef CMAKE_BUILD_WITH_CMAKE