summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDF5UseFortran.cmake
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2012-12-21 00:47:03 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2012-12-21 00:47:03 (GMT)
commitf1e311ef7d077f9247f1a27ace16e300a06b06db (patch)
tree1c74ca88fe087a989d9fd7ba0a3d136cdd62689b /config/cmake/HDF5UseFortran.cmake
parent357d94328cd2f02cace8806e33ec5698740dd81b (diff)
downloadhdf5-f1e311ef7d077f9247f1a27ace16e300a06b06db.zip
hdf5-f1e311ef7d077f9247f1a27ace16e300a06b06db.tar.gz
hdf5-f1e311ef7d077f9247f1a27ace16e300a06b06db.tar.bz2
[svn-r23115] Added a new test for KIND C_INT64_T, which some earlier windows Intel versions (<12.1)
did not support.
Diffstat (limited to 'config/cmake/HDF5UseFortran.cmake')
-rw-r--r--config/cmake/HDF5UseFortran.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/cmake/HDF5UseFortran.cmake b/config/cmake/HDF5UseFortran.cmake
index 323c9ef..8fa76b8 100644
--- a/config/cmake/HDF5UseFortran.cmake
+++ b/config/cmake/HDF5UseFortran.cmake
@@ -110,6 +110,9 @@ CHECK_FORTRAN_FEATURE(RealIsNotDouble
FORTRAN_DEFAULT_REAL_NOT_DOUBLE
)
+#-----------------------------------------------------------------------------
+# Checks if the ISO_C_BINDING module meets all the requirements
+#-----------------------------------------------------------------------------
CHECK_FORTRAN_FEATURE(iso_c_binding
"
PROGRAM main
@@ -117,6 +120,7 @@ CHECK_FORTRAN_FEATURE(iso_c_binding
IMPLICIT NONE
TYPE(C_PTR) :: ptr
TYPE(C_FUNPTR) :: funptr
+ INTEGER(C_INT64_T) :: c_int64_type
CHARACTER(LEN=80, KIND=c_char), TARGET :: ichr
ptr = C_LOC(ichr(1:1))
END PROGRAM