summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalCommonGenerator.cxx
diff options
context:
space:
mode:
authorBruno Manganelli <bruno.manga95@gmail.com>2018-11-23 18:52:26 (GMT)
committerBruno Manganelli <bruno.manga95@gmail.com>2019-01-27 15:48:57 (GMT)
commitb6a957c9696706a338cdeef63540bf8a4c42d22d (patch)
tree48b0536c2d1ba352576910dcfb44490b75ffde92 /Source/cmLocalCommonGenerator.cxx
parent05e4fa47738bf44e8ee6501b415df2899b10f6da (diff)
downloadCMake-b6a957c9696706a338cdeef63540bf8a4c42d22d.zip
CMake-b6a957c9696706a338cdeef63540bf8a4c42d22d.tar.gz
CMake-b6a957c9696706a338cdeef63540bf8a4c42d22d.tar.bz2
cmOutputConverter: move ConvertToRelativePath to cmStateDirectory.
Diffstat (limited to 'Source/cmLocalCommonGenerator.cxx')
-rw-r--r--Source/cmLocalCommonGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalCommonGenerator.cxx b/Source/cmLocalCommonGenerator.cxx
index 7ce2c82..ad89335 100644
--- a/Source/cmLocalCommonGenerator.cxx
+++ b/Source/cmLocalCommonGenerator.cxx
@@ -47,7 +47,7 @@ std::string cmLocalCommonGenerator::GetTargetFortranFlags(
target->GetFortranModuleDirectory(this->WorkingDirectory);
if (!mod_dir.empty()) {
mod_dir = this->ConvertToOutputFormat(
- this->ConvertToRelativePath(this->WorkingDirectory, mod_dir),
+ this->MaybeConvertToRelativePath(this->WorkingDirectory, mod_dir),
cmOutputConverter::SHELL);
} else {
mod_dir =