BUG: Fix in-interface mode. Patch from Maik Beckmann. See bug#5809.

This commit is contained in:
Brad King 2007-10-10 09:07:10 -04:00
parent bacc31a4aa
commit ea56464864
1 changed files with 4 additions and 1 deletions

View File

@ -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));
}
}
//----------------------------------------------------------------------------