summaryrefslogtreecommitdiff
path: root/Source/cmIncludeCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-03 11:10:30 +0200
committerStephen Kelly <steveire@gmail.com>2015-05-03 11:42:00 +0200
commita0836ed97804952ace98d2c1d0d46e968a532a3c (patch)
tree11c3a118fb30c8cf6eb41eca2898251197edadeb /Source/cmIncludeCommand.cxx
parentcbf143bb76604f576275d96a1e1e4c701680ff29 (diff)
downloadcmake-a0836ed97804952ace98d2c1d0d46e968a532a3c.tar.gz
Port to cmMakefile::GetGlobalGenerator.
Diffstat (limited to 'Source/cmIncludeCommand.cxx')
-rw-r--r--Source/cmIncludeCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx
index 71dabaff4e..372af63e63 100644
--- a/Source/cmIncludeCommand.cxx
+++ b/Source/cmIncludeCommand.cxx
@@ -93,8 +93,7 @@ bool cmIncludeCommand
cmSystemTools::CollapseFullPath(fname,
this->Makefile->GetCurrentSourceDirectory());
- cmGlobalGenerator *gg = this->Makefile->GetLocalGenerator()
- ->GetGlobalGenerator();
+ cmGlobalGenerator *gg = this->Makefile->GetGlobalGenerator();
if (gg->IsExportedTargetsFile(fname_abs))
{
const char *modal = 0;