summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-03-07 20:19:18 (GMT)
committerBrad King <brad.king@kitware.com>2005-03-07 20:19:18 (GMT)
commite75df695de9b702fbbb15bd97d658dc8acdc4a48 (patch)
tree1894efc0b2d56f5cf6157c4d6b7b02dfc92dc9b8 /Source/cmDependsFortran.cxx
parent04bb427d1f067a4f1820a7cc0c81250f9ccfd7c6 (diff)
downloadCMake-e75df695de9b702fbbb15bd97d658dc8acdc4a48.zip
CMake-e75df695de9b702fbbb15bd97d658dc8acdc4a48.tar.gz
CMake-e75df695de9b702fbbb15bd97d658dc8acdc4a48.tar.bz2
BUG: When checking for upper-case modules do not use an upper-case .MOD extension.
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r--Source/cmDependsFortran.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index a13c740..eaae7bb 100644
--- a/Source/cmDependsFortran.cxx
+++ b/Source/cmDependsFortran.cxx
@@ -265,10 +265,12 @@ bool cmDependsFortran::CopyModule(const std::vector<std::string>& args)
// when the interface described in the module does not.
std::string mod = args[2];
- mod += ".mod";
std::string stamp = args[3];
std::string mod_upper = cmSystemTools::UpperCase(mod.c_str());
std::string mod_lower = cmSystemTools::LowerCase(mod.c_str());
+ mod += ".mod";
+ mod_upper += ".mod";
+ mod_lower += ".mod";
if(cmSystemTools::FileExists(mod_upper.c_str()))
{