diff options
author | Alin Elena <alinm.elena@gmail.com> | 2008-07-21 08:56:26 (GMT) |
---|---|---|
committer | Alin Elena <alinm.elena@gmail.com> | 2008-07-21 08:56:26 (GMT) |
commit | dbb89f47aa2bcffe023fc1f2e23cb5466c331b17 (patch) | |
tree | d8723d1dfc44b93760b936f14394e4c068836ab5 /Modules/CheckFortranFunctionExists.cmake | |
parent | c52f9425c7a2b86f331274f2091111d3a7330760 (diff) | |
download | CMake-dbb89f47aa2bcffe023fc1f2e23cb5466c331b17.zip CMake-dbb89f47aa2bcffe023fc1f2e23cb5466c331b17.tar.gz CMake-dbb89f47aa2bcffe023fc1f2e23cb5466c331b17.tar.bz2 |
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
Diffstat (limited to 'Modules/CheckFortranFunctionExists.cmake')
-rw-r--r-- | Modules/CheckFortranFunctionExists.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckFortranFunctionExists.cmake b/Modules/CheckFortranFunctionExists.cmake index 4106a06..3ff5853 100644 --- a/Modules/CheckFortranFunctionExists.cmake +++ b/Modules/CheckFortranFunctionExists.cmake @@ -8,7 +8,6 @@ # modify the way the check is run: # # CMAKE_REQUIRED_LIBRARIES = list of libraries to link -# macro(CHECK_FORTRAN_FUNCTION_EXISTS FUNCTION VARIABLE) if(NOT DEFINED ${VARIABLE}) @@ -24,6 +23,7 @@ macro(CHECK_FORTRAN_FUNCTION_EXISTS FUNCTION VARIABLE) " program TESTFortran external ${FUNCTION} + call ${FUNCTION}() end " ) |