diff options
author | Brad King <brad.king@kitware.com> | 2007-10-10 13:07:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-10-10 13:07:10 (GMT) |
commit | ea56464864674a8dd13e417c69d68bd9a80ff5fa (patch) | |
tree | cd1c0e00838c094675c0cb480d515ee10a94cd4e /Source/cmDependsFortran.cxx | |
parent | bacc31a4aa856e72fab8676b7360d87f28d668f1 (diff) | |
download | CMake-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.cxx | 5 |
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)); + } } //---------------------------------------------------------------------------- |