Browse Source

cmGlobalGenerator: Move FinalizeTargetCompileInfo to Compute().

Stephen Kelly 10 years ago
parent
commit
2e94cba356
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmGlobalGenerator.cxx

+ 2 - 2
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