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/cmDependsFortran.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/cmDependsFortran.cxx')
-rw-r--r-- | Source/cmDependsFortran.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx index d7e2c33..9fb4221 100644 --- a/Source/cmDependsFortran.cxx +++ b/Source/cmDependsFortran.cxx @@ -428,14 +428,18 @@ bool cmDependsFortran::WriteDependenciesReal(const char* obj, std::string modFile = mod_dir; modFile += "/"; modFile += *i; - modFile = this->LocalGenerator->Convert( - modFile, cmOutputConverter::HOME_OUTPUT, cmOutputConverter::SHELL); + modFile = this->LocalGenerator->ConvertToOutputFormat( + this->LocalGenerator->ConvertToRelativePath( + this->LocalGenerator->GetBinaryDirectory(), modFile), + cmOutputConverter::SHELL); std::string stampFile = stamp_dir; stampFile += "/"; stampFile += m; stampFile += ".mod.stamp"; - stampFile = this->LocalGenerator->Convert( - stampFile, cmOutputConverter::HOME_OUTPUT, cmOutputConverter::SHELL); + stampFile = this->LocalGenerator->ConvertToOutputFormat( + this->LocalGenerator->ConvertToRelativePath( + this->LocalGenerator->GetBinaryDirectory(), stampFile), + cmOutputConverter::SHELL); makeDepends << "\t$(CMAKE_COMMAND) -E cmake_copy_f90_mod " << modFile << " " << stampFile; cmMakefile* mf = this->LocalGenerator->GetMakefile(); |