summaryrefslogtreecommitdiffstats
path: root/config/cmake
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-07-14 14:14:05 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-07-14 14:14:05 (GMT)
commitf50c602b01c0c40ce0bf3725f230b87e6826f967 (patch)
tree9f8f2adbadfa1f31f7fcd90ca6d92b7b7a2ef32d /config/cmake
parent838755cf71e270e2123b540bae3a89f6bbffbc2b (diff)
downloadhdf5-f50c602b01c0c40ce0bf3725f230b87e6826f967.zip
hdf5-f50c602b01c0c40ce0bf3725f230b87e6826f967.tar.gz
hdf5-f50c602b01c0c40ce0bf3725f230b87e6826f967.tar.bz2
[svn-r27376] set default value of SIZEOF___FLOAT128
Diffstat (limited to 'config/cmake')
-rw-r--r--config/cmake/ConfigureChecks.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index 1203878..df3a7bd 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -149,11 +149,13 @@ endif (NOT WINDOWS)
#-----------------------------------------------------------------------------
# Check if C has __float128 extension
#-----------------------------------------------------------------------------
+
CHECK_TYPE_SIZE("__float128" SIZEOF___FLOAT128)
if(${HAVE_SIZEOF___FLOAT128})
SET(H5_HAVE_FLOAT128 1)
else (${HAVE_SIZEOF___FLOAT128})
SET(H5_HAVE_FLOAT128 0)
+ SET(SIZEOF___FLOAT128 0)
endif(${HAVE_SIZEOF___FLOAT128})
#-----------------------------------------------------------------------------