summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.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/cmLocalNinjaGenerator.cxx
parentdc510919443eced785ea972c2a7433c440dacd4f (diff)
downloadCMake-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.cxx3
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.