summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileUtilityTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-16 03:18:39 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-16 03:20:12 (GMT)
commite9b134b95ddc832979b2cf78aff68643139e5006 (patch)
tree5c594fa6e30f8c1e094214c8c73da7386a657d6c /Source/cmMakefileUtilityTargetGenerator.cxx
parent24613d8b45b4f76e9227e9dec4dcd19ae9cfdfb5 (diff)
downloadCMake-e9b134b95ddc832979b2cf78aff68643139e5006.zip
CMake-e9b134b95ddc832979b2cf78aff68643139e5006.tar.gz
CMake-e9b134b95ddc832979b2cf78aff68643139e5006.tar.bz2
cmGlobalUnixMakefileGenerator3: Host the include directive.
There is no sense in copying this to each cmLocalGenerator.
Diffstat (limited to 'Source/cmMakefileUtilityTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileUtilityTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileUtilityTargetGenerator.cxx b/Source/cmMakefileUtilityTargetGenerator.cxx
index 617214f..25d929c 100644
--- a/Source/cmMakefileUtilityTargetGenerator.cxx
+++ b/Source/cmMakefileUtilityTargetGenerator.cxx
@@ -51,7 +51,7 @@ void cmMakefileUtilityTargetGenerator::WriteRuleFiles()
// Include the progress variables for the target.
*this->BuildFileStream
<< "# Include the progress variables for this target.\n"
- << this->LocalGenerator->IncludeDirective << " " << root
+ << this->GlobalGenerator->IncludeDirective << " " << root
<< this->Convert(this->ProgressFileNameFull,
cmLocalGenerator::HOME_OUTPUT,
cmLocalGenerator::MAKERULE)