summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 16:20:37 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-09-19 19:36:14 (GMT)
commite7c895674620afc51cf525e85b71601165eb4c05 (patch)
treea0e62b4b1298ec7170e5a714adafb6d97aa866a4 /Source/cmMakefileTargetGenerator.cxx
parentdc510919443eced785ea972c2a7433c440dacd4f (diff)
downloadCMake-e7c895674620afc51cf525e85b71601165eb4c05.zip
CMake-e7c895674620afc51cf525e85b71601165eb4c05.tar.gz
CMake-e7c895674620afc51cf525e85b71601165eb4c05.tar.bz2
Convert: Inline uses of HOME_OUTPUT
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 9809be6..cdf4330 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -904,8 +904,10 @@ bool cmMakefileTargetGenerator::WriteMakeRule(
o != outputs.end(); ++o) {
// Touch the extra output so "make" knows that it was updated,
// but only if the output was acually created.
- std::string const out = this->Convert(*o, cmOutputConverter::HOME_OUTPUT,
- cmOutputConverter::SHELL);
+ std::string const out = this->LocalGenerator->ConvertToOutputFormat(
+ this->LocalGenerator->ConvertToRelativePath(
+ this->LocalGenerator->GetBinaryDirectory(), *o),
+ cmOutputConverter::SHELL);
std::vector<std::string> output_commands;
bool o_symbolic = false;