1
0
Эх сурвалжийг харах

cmGlobalGenerator: Access makefile from makefiles container.

Stephen Kelly 10 жил өмнө
parent
commit
1e5349a5a0

+ 1 - 2
Source/cmGlobalGenerator.cxx

@@ -1669,8 +1669,7 @@ void cmGlobalGenerator::CheckLocalGenerators()
           text += "\n    linked by target \"";
           text += "\n    linked by target \"";
           text += l->second.GetName();
           text += l->second.GetName();
           text += "\" in directory ";
           text += "\" in directory ";
-          text+=this->LocalGenerators[i]->GetMakefile()
-                    ->GetCurrentSourceDirectory();
+          text+=this->Makefiles[i]->GetCurrentSourceDirectory();
           notFoundMap[varName] = text;
           notFoundMap[varName] = text;
           }
           }
         }
         }