Browse Source

cmGlobalGenerator: Base final target property computation on Makefiles.

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

+ 2 - 2
Source/cmGlobalGenerator.cxx

@@ -1482,9 +1482,9 @@ void cmGlobalGenerator::CreateQtAutoGeneratorsTargets(AutogensType &autogens)
 void cmGlobalGenerator::FinalizeTargetCompileInfo()
 {
   // Construct per-target generator information.
-  for(unsigned int i=0; i < this->LocalGenerators.size(); ++i)
+  for(unsigned int i=0; i < this->Makefiles.size(); ++i)
     {
-    cmMakefile *mf = this->LocalGenerators[i]->GetMakefile();
+    cmMakefile *mf = this->Makefiles[i];
 
     const cmStringRange noconfig_compile_definitions =
                                 mf->GetCompileDefinitionsEntries();