summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileUtilityTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-04 20:56:31 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-06 18:02:08 (GMT)
commit1ed5f6b39b80ab337551f1fa9601b3257ddd4be7 (patch)
tree1af60419ab2297157ab5b06ae85de09b9fcb74c5 /Source/cmMakefileUtilityTargetGenerator.cxx
parent8377d9e00b7a00f1687b947aaf3c9e10b6779df4 (diff)
downloadCMake-1ed5f6b39b80ab337551f1fa9601b3257ddd4be7.zip
CMake-1ed5f6b39b80ab337551f1fa9601b3257ddd4be7.tar.gz
CMake-1ed5f6b39b80ab337551f1fa9601b3257ddd4be7.tar.bz2
Makefiles: Introduce local RelativePath method
This makes it easier to remove directory-specific state from cmOutputConverter where it doesn't belong. Of course, this just relocates the problem to the makefiles generator for now, but that's better than affecting the core.
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 f40c8fa..ecb29cb 100644
--- a/Source/cmMakefileUtilityTargetGenerator.cxx
+++ b/Source/cmMakefileUtilityTargetGenerator.cxx
@@ -46,7 +46,7 @@ void cmMakefileUtilityTargetGenerator::WriteRuleFiles()
<< this->GlobalGenerator->IncludeDirective << " " << root
<< cmSystemTools::ConvertToOutputPath(
this->LocalGenerator
- ->ConvertToRelativePath(
+ ->MaybeConvertToRelativePath(
this->LocalGenerator->GetBinaryDirectory(),
this->ProgressFileNameFull)
.c_str())