diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-08-27 16:20:37 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-09-19 19:36:14 (GMT) |
commit | e7c895674620afc51cf525e85b71601165eb4c05 (patch) | |
tree | a0e62b4b1298ec7170e5a714adafb6d97aa866a4 /Source/cmMakefileTargetGenerator.cxx | |
parent | dc510919443eced785ea972c2a7433c440dacd4f (diff) | |
download | CMake-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.cxx | 6 |
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; |