diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 65d74bd90..dcbc55831 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1226,13 +1226,13 @@ bool cmGlobalGenerator::Compute() { return false; } + this->FinalizeTargetCompileInfo(); + return true; } void cmGlobalGenerator::Generate() { - this->FinalizeTargetCompileInfo(); - this->CreateGenerationObjects(); #ifdef CMAKE_BUILD_WITH_CMAKE