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/cmLocalNinjaGenerator.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/cmLocalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmLocalNinjaGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx index 94f4929..f2a13bc 100644 --- a/Source/cmLocalNinjaGenerator.cxx +++ b/Source/cmLocalNinjaGenerator.cxx @@ -145,7 +145,8 @@ std::string cmLocalNinjaGenerator::ConvertToIncludeReference( return this->ConvertToOutputFormat(cmSystemTools::CollapseFullPath(path), format); } - return this->Convert(path, cmOutputConverter::HOME_OUTPUT, format); + return this->ConvertToOutputFormat( + this->ConvertToRelativePath(this->GetBinaryDirectory(), path), format); } // Private methods. |