From 1e5349a5a0162cf5f75639717d374e73358df7b2 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 25 Aug 2015 08:21:22 +0200 Subject: [PATCH] cmGlobalGenerator: Access makefile from makefiles container. --- Source/cmGlobalGenerator.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 46c1ccc86..97fa8232f 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/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; } }