浏览代码

cmGlobalGenerator: Access makefile from makefiles container.

Stephen Kelly 10 年之前
父节点
当前提交
1e5349a5a0
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Source/cmGlobalGenerator.cxx

+ 1 - 2
Source/cmGlobalGenerator.cxx

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