[Cmake-commits] [cmake-commits] alin.elena committed CheckFortranFunctionExists.cmake 1.1 1.2 FindLAPACK.cmake 1.2 1.3
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Jul 21 04:56:28 EDT 2008
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv9652/Modules
Modified Files:
CheckFortranFunctionExists.cmake FindLAPACK.cmake
Log Message:
ENH: Modules/CheckFortranFunctionExists.cmake helps gfortran to check the existence of a file
ENH: Modules/FindLAPACK.cmake returns the full list of libraries required to link against Lapack
Index: CheckFortranFunctionExists.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CheckFortranFunctionExists.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** CheckFortranFunctionExists.cmake 10 Oct 2007 21:47:36 -0000 1.1
--- CheckFortranFunctionExists.cmake 21 Jul 2008 08:56:25 -0000 1.2
***************
*** 9,13 ****
#
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
- #
macro(CHECK_FORTRAN_FUNCTION_EXISTS FUNCTION VARIABLE)
--- 9,12 ----
***************
*** 25,28 ****
--- 24,28 ----
program TESTFortran
external ${FUNCTION}
+ call ${FUNCTION}()
end
"
Index: FindLAPACK.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindLAPACK.cmake,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** FindLAPACK.cmake 24 Mar 2008 15:49:48 -0000 1.2
--- FindLAPACK.cmake 21 Jul 2008 08:56:26 -0000 1.3
***************
*** 76,82 ****
endif(_libraries_work)
! if(NOT _libraries_work)
! set(${LIBRARIES} FALSE)
! endif(NOT _libraries_work)
endmacro(Check_Lapack_Libraries)
--- 76,85 ----
endif(_libraries_work)
!
! if(_libraries_work)
! set(${LIBRARIES} ${${LIBRARIES}} ${_blas})
! else(_libraries_work)
! set(${LIBRARIES} FALSE)
! endif(_libraries_work)
endmacro(Check_Lapack_Libraries)
More information about the Cmake-commits
mailing list