Commit e75df695 authored by Brad King's avatar Brad King
Browse files

BUG: When checking for upper-case modules do not use an upper-case .MOD extension.

parent 04bb427d
......@@ -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";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment