From ea56464864674a8dd13e417c69d68bd9a80ff5fa Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 10 Oct 2007 09:07:10 -0400 Subject: [PATCH] BUG: Fix in-interface mode. Patch from Maik Beckmann. See bug#5809. --- Source/cmDependsFortran.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx index 3b2bc4ab6..27ec340e3 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)); + } } //----------------------------------------------------------------------------