summaryrefslogtreecommitdiff
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 13:50:30 +0200
committerStephen Kelly <steveire@gmail.com>2016-09-19 21:36:13 +0200
commit516e79ba2722adb662000773e742187815723702 (patch)
treeee2e335fcc93bd82e44d9be7163f856b0c77295a /Source/cmDependsFortran.cxx
parente13e519e1c3f76b826365b5fa72a50dba180c191 (diff)
downloadcmake-516e79ba2722adb662000773e742187815723702.tar.gz
Convert: Inline MAKERULE conversions
This is a trivial use of a static method.
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r--Source/cmDependsFortran.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index 925e385148..4a4acce894 100644
--- a/Source/cmDependsFortran.cxx
+++ b/Source/cmDependsFortran.cxx
@@ -333,8 +333,7 @@ bool cmDependsFortran::WriteDependenciesReal(const char* obj,
// Write the include dependencies to the output stream.
std::string obj_i = this->LocalGenerator->ConvertToRelativePath(
this->LocalGenerator->GetBinaryDirectory(), obj);
- std::string obj_m = this->LocalGenerator->ConvertToOutputFormat(
- obj_i, cmOutputConverter::MAKERULE);
+ std::string obj_m = cmSystemTools::ConvertToOutputPath(obj_i.c_str());
internalDepends << obj_i << std::endl;
internalDepends << " " << src << std::endl;
for (std::set<std::string>::const_iterator i = info.Includes.begin();