Browse Source

cmGlobalGenerator: Port global target creation to cmMakefile.

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

+ 1 - 1
Source/cmGlobalGenerator.cxx

@@ -2247,7 +2247,7 @@ inline std::string removeQuotes(const std::string& s)
 
 void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets)
 {
-  cmMakefile* mf = this->LocalGenerators[0]->GetMakefile();
+  cmMakefile* mf = this->Makefiles[0];
   const char* cmakeCfgIntDir = this->GetCMakeCFGIntDir();
 
   // CPack