[cmake-commits] king committed cmDependsFortran.cxx 1.22 1.23

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Oct 10 09:07:12 EDT 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26370/Source

Modified Files:
	cmDependsFortran.cxx 
Log Message:
BUG: Fix in-interface mode.  Patch from Maik Beckmann.  See bug#5809.


Index: cmDependsFortran.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDependsFortran.cxx,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- cmDependsFortran.cxx	3 Oct 2007 20:19:19 -0000	1.22
+++ cmDependsFortran.cxx	10 Oct 2007 13:07:10 -0000	1.23
@@ -504,7 +504,10 @@
 void cmDependsFortranParser_RuleModule(cmDependsFortranParser* parser,
                                        const char* name)
 {
-  parser->Provides.insert(cmSystemTools::LowerCase(name) );
+  if(!parser->InInterface )
+    {
+    parser->Provides.insert(cmSystemTools::LowerCase(name));
+    }
 }
 
 //----------------------------------------------------------------------------



More information about the Cmake-commits mailing list