summaryrefslogtreecommitdiffstats
path: root/config/cmake/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-07-30 21:31:39 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-07-30 21:31:39 (GMT)
commit323635f2b57e32db00c5ba27ebb8ef40f2dc5894 (patch)
treeefd3c0f1dae0dd415d8902668916709640fbd1b8 /config/cmake/ConfigureChecks.cmake
parent63fa8acbac3d6696c99aa72981355e383ccef8bd (diff)
downloadhdf5-323635f2b57e32db00c5ba27ebb8ef40f2dc5894.zip
hdf5-323635f2b57e32db00c5ba27ebb8ef40f2dc5894.tar.gz
hdf5-323635f2b57e32db00c5ba27ebb8ef40f2dc5894.tar.bz2
HDFFV-10508 correct sizeof
Diffstat (limited to 'config/cmake/ConfigureChecks.cmake')
-rw-r--r--config/cmake/ConfigureChecks.cmake8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index 0d955d0..a5444ef 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -167,14 +167,16 @@ endif ()
# Check if C has __float128 extension
#-----------------------------------------------------------------------------
-CHECK_TYPE_SIZE("__float128" SIZEOF___FLOAT128)
-if (${HAVE_SIZEOF___FLOAT128})
+CHECK_TYPE_SIZE("__float128" ${HDF_PREFIX}_SIZEOF___FLOAT128)
+if (${${HDF_PREFIX}_SIZEOF___FLOAT128})
set (${HDF_PREFIX}_HAVE_FLOAT128 1)
else ()
set (${HDF_PREFIX}_HAVE_FLOAT128 0)
- set (SIZEOF___FLOAT128 0)
+ set (${HDF_PREFIX}_SIZEOF___FLOAT128 0)
endif ()
+CHECK_TYPE_SIZE("_Quad" ${HDF_PREFIX}_SIZEOF__QUAD)
+
#-----------------------------------------------------------------------------
# Macro to determine the various conversion capabilities
#-----------------------------------------------------------------------------