[svn-r21263] Add F2003 support to CMake builds

This commit is contained in:
Allen Byrne
2011-08-19 10:11:10 -05:00
parent 5213c69fd5
commit 13426d47fe
6 changed files with 34 additions and 0 deletions

View File

@@ -110,6 +110,15 @@ CHECK_FORTRAN_FEATURE(RealIsNotDouble
FORTRAN_DEFAULT_REAL_NOT_DOUBLE
)
CHECK_FORTRAN_FEATURE(iso_c_binding
"
PROGRAM main
USE iso_c_binding
END PROGRAM
"
FORTRAN_HAVE_ISO_C_BINDING
)
#-----------------------------------------------------------------------------
# Add debug information (intel Fortran : JB)
#-----------------------------------------------------------------------------