summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 11:50:29 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-09-19 19:36:12 (GMT)
commit21b5fdf9a39f739c3566f3e77a4c5244da1b7e3a (patch)
tree84f85642a636657bda78c378e6c6e43ddf18ad49 /Source/cmDependsFortran.cxx
parentf1d845ae74dd9ba0520b1f97c851e439f1c4df07 (diff)
downloadCMake-21b5fdf9a39f739c3566f3e77a4c5244da1b7e3a.zip
CMake-21b5fdf9a39f739c3566f3e77a4c5244da1b7e3a.tar.gz
CMake-21b5fdf9a39f739c3566f3e77a4c5244da1b7e3a.tar.bz2
Convert: Avoid START_OUTPUT enum when converting to relative paths
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r--Source/cmDependsFortran.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index eb4c1ec..eed31fa 100644
--- a/Source/cmDependsFortran.cxx
+++ b/Source/cmDependsFortran.cxx
@@ -206,15 +206,17 @@ bool cmDependsFortran::Finalize(std::ostream& makeDepends,
fcStream << "\n";
fcStream << " \""
<< this->LocalGenerator->ConvertToRelativePath(
- mod_lower, cmOutputConverter::START_OUTPUT)
+ this->LocalGenerator->GetCurrentBinaryDirectory(),
+ mod_lower)
<< "\"\n";
fcStream << " \""
<< this->LocalGenerator->ConvertToRelativePath(
- mod_upper, cmOutputConverter::START_OUTPUT)
+ this->LocalGenerator->GetCurrentBinaryDirectory(),
+ mod_upper)
<< "\"\n";
fcStream << " \""
<< this->LocalGenerator->ConvertToRelativePath(
- stamp, cmOutputConverter::START_OUTPUT)
+ this->LocalGenerator->GetCurrentBinaryDirectory(), stamp)
<< "\"\n";
}
fcStream << " )\n";