summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-10-10 13:07:10 (GMT)
committerBrad King <brad.king@kitware.com>2007-10-10 13:07:10 (GMT)
commitea56464864674a8dd13e417c69d68bd9a80ff5fa (patch)
treecd1c0e00838c094675c0cb480d515ee10a94cd4e /Source/cmDependsFortran.cxx
parentbacc31a4aa856e72fab8676b7360d87f28d668f1 (diff)
downloadCMake-ea56464864674a8dd13e417c69d68bd9a80ff5fa.zip
CMake-ea56464864674a8dd13e417c69d68bd9a80ff5fa.tar.gz
CMake-ea56464864674a8dd13e417c69d68bd9a80ff5fa.tar.bz2
BUG: Fix in-interface mode. Patch from Maik Beckmann. See bug#5809.
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r--Source/cmDependsFortran.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index 3b2bc4a..27ec340 100644
--- a/Source/cmDependsFortran.cxx
+++ b/Source/cmDependsFortran.cxx
@@ -504,7 +504,10 @@ void cmDependsFortranParser_RuleInclude(cmDependsFortranParser* parser,
void cmDependsFortranParser_RuleModule(cmDependsFortranParser* parser,
const char* name)
{
- parser->Provides.insert(cmSystemTools::LowerCase(name) );
+ if(!parser->InInterface )
+ {
+ parser->Provides.insert(cmSystemTools::LowerCase(name));
+ }
}
//----------------------------------------------------------------------------