Re: [CMake] gfortran/CheckFortranFunctionExists.cmake issue with 2.6.0

2008-06-19 Thread Arjen Markus
> > Regardless of the cause of this problem, with both g77 and gfortran I get > the proper results (success if the function exists, failure if not) if I > change > > external ${FUNCTION} > > ==> > > call ${FUNCTION}() > > within CheckFortranFunctionExists.cmake. > > Alin and Brad (and any other For

[CMake] gfortran/CheckFortranFunctionExists.cmake issue with 2.6.0

2008-06-19 Thread Alan W. Irwin
CheckFortranFunctionExists.cmake (originally implemented by me and now maintained by Alin Elena in CMake cvs) does not work properly with gfortran. The issue is the bit of test code that reads as follows: FILE(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testFortranCompiler