cmGlobalGenerator: Create all local generators after Configure().

This commit is contained in:
Stephen Kelly 2015-08-02 12:12:18 +02:00
parent 194bb06803
commit 2c2479fbed
1 changed files with 1 additions and 1 deletions

View File

@ -1124,7 +1124,6 @@ void cmGlobalGenerator::Configure()
// now do it
this->ConfigureDoneCMP0026 = false;
dirMf->Configure();
this->CreateLocalGenerators();
dirMf->EnforceDirectoryLevelRules();
this->ConfigureDoneCMP0026 = true;
@ -1186,6 +1185,7 @@ void cmGlobalGenerator::Configure()
void cmGlobalGenerator::CreateGenerationObjects(TargetTypes targetTypes)
{
this->CreateLocalGenerators();
cmDeleteAll(this->GeneratorTargets);
this->GeneratorTargets.clear();
this->CreateGeneratorTargets(targetTypes);