Selaa lähdekoodia

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

Brad King 18 vuotta sitten
vanhempi
sitoutus
ea56464864
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      Source/cmDependsFortran.cxx

+ 4 - 1
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));
+    }
 }
 
 //----------------------------------------------------------------------------