diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-08-27 16:09:04 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-09-19 19:36:13 (GMT) |
commit | 25c39ac28b42234d08c3906ce24ac739f6111506 (patch) | |
tree | 11e85b319524214585b105947237026eded0d601 /Source/cmDependsC.cxx | |
parent | 516e79ba2722adb662000773e742187815723702 (diff) | |
download | CMake-25c39ac28b42234d08c3906ce24ac739f6111506.zip CMake-25c39ac28b42234d08c3906ce24ac739f6111506.tar.gz CMake-25c39ac28b42234d08c3906ce24ac739f6111506.tar.bz2 |
Convert: Inline HOME_OUTPUT MAKERULE conversion
Diffstat (limited to 'Source/cmDependsC.cxx')
-rw-r--r-- | Source/cmDependsC.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx index 619106f..48a32f1 100644 --- a/Source/cmDependsC.cxx +++ b/Source/cmDependsC.cxx @@ -247,9 +247,11 @@ bool cmDependsC::WriteDependencies(const std::set<std::string>& sources, for (std::set<std::string>::const_iterator i = dependencies.begin(); i != dependencies.end(); ++i) { makeDepends << obj_m << ": " - << this->LocalGenerator->Convert( - *i, cmOutputConverter::HOME_OUTPUT, - cmOutputConverter::MAKERULE) + << cmSystemTools::ConvertToOutputPath( + this->LocalGenerator + ->ConvertToRelativePath( + this->LocalGenerator->GetBinaryDirectory(), *i) + .c_str()) << std::endl; internalDepends << " " << *i << std::endl; } |