[Cmake-commits] [cmake-commits] hoffman committed FortranCInterface.cmake 1.5 1.6

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Oct 29 12:24:10 EDT 2008


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv6580

Modified Files:
	FortranCInterface.cmake 
Log Message:
ENH: only check for module linkage if f90 is available


Index: FortranCInterface.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FortranCInterface.cmake,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** FortranCInterface.cmake	29 Oct 2008 15:50:20 -0000	1.5
--- FortranCInterface.cmake	29 Oct 2008 16:24:07 -0000	1.6
***************
*** 170,174 ****
      set(suffix )
      set(found FALSE)
!     discover_fortran_module_mangling(prefix suffix found)
      if(found)
        message(STATUS "found Fortran module linkage")
--- 170,177 ----
      set(suffix )
      set(found FALSE)
!     # only try this if the compiler is F90 compatible
!     if(CMAKE_Fortran_COMPILER_SUPPORTS_F90)
!       discover_fortran_module_mangling(prefix suffix found)
!     endif(CMAKE_Fortran_COMPILER_SUPPORTS_F90)
      if(found)
        message(STATUS "found Fortran module linkage")



More information about the Cmake-commits mailing list