Преглед изворни кода

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

Brad King пре 18 година
родитељ
комит
ea56464864
1 измењених фајлова са 4 додато и 1 уклоњено
  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));
+    }
 }
 
 //----------------------------------------------------------------------------