summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDF5UseFortran.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-06-04 17:05:02 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-06-04 17:05:02 (GMT)
commit7b1ea8aa2a75ef8e28c60e79fcba42b44c4e584a (patch)
tree96446a5912f352d549c2324e4b5735d3ddee663d /config/cmake/HDF5UseFortran.cmake
parent64fc9df55b7ae09b18ac159590cb2325d003be34 (diff)
downloadhdf5-7b1ea8aa2a75ef8e28c60e79fcba42b44c4e584a.zip
hdf5-7b1ea8aa2a75ef8e28c60e79fcba42b44c4e584a.tar.gz
hdf5-7b1ea8aa2a75ef8e28c60e79fcba42b44c4e584a.tar.bz2
[svn-r22430] CMake and configure synchronization effort. CMake added most tests and options: DEBUGPKG not addressed.
Still needed: compiler wrapper scripts Tested: local linux(cmake) and h5committest
Diffstat (limited to 'config/cmake/HDF5UseFortran.cmake')
-rw-r--r--config/cmake/HDF5UseFortran.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/cmake/HDF5UseFortran.cmake b/config/cmake/HDF5UseFortran.cmake
index c1c5acb..323c9ef 100644
--- a/config/cmake/HDF5UseFortran.cmake
+++ b/config/cmake/HDF5UseFortran.cmake
@@ -114,6 +114,11 @@ CHECK_FORTRAN_FEATURE(iso_c_binding
"
PROGRAM main
USE iso_c_binding
+ IMPLICIT NONE
+ TYPE(C_PTR) :: ptr
+ TYPE(C_FUNPTR) :: funptr
+ CHARACTER(LEN=80, KIND=c_char), TARGET :: ichr
+ ptr = C_LOC(ichr(1:1))
END PROGRAM
"
FORTRAN_HAVE_ISO_C_BINDING