summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDF5UseFortran.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-07-30 22:10:00 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-07-30 22:10:00 (GMT)
commit496372dc18b6cf649c3eb158fefd8ef4d83c2355 (patch)
tree64590b59dea95e8c214ddf8d82c0758fc4b1243b /config/cmake/HDF5UseFortran.cmake
parent323635f2b57e32db00c5ba27ebb8ef40f2dc5894 (diff)
downloadhdf5-496372dc18b6cf649c3eb158fefd8ef4d83c2355.zip
hdf5-496372dc18b6cf649c3eb158fefd8ef4d83c2355.tar.gz
hdf5-496372dc18b6cf649c3eb158fefd8ef4d83c2355.tar.bz2
HDFFV-10508 more config fixes
Diffstat (limited to 'config/cmake/HDF5UseFortran.cmake')
-rw-r--r--config/cmake/HDF5UseFortran.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/HDF5UseFortran.cmake b/config/cmake/HDF5UseFortran.cmake
index c7f4f8b..1f66bad 100644
--- a/config/cmake/HDF5UseFortran.cmake
+++ b/config/cmake/HDF5UseFortran.cmake
@@ -460,7 +460,7 @@ string (REGEX REPLACE "\n" ";" PROG_OUTPUT "${PROG_OUTPUT}")
list (GET PROG_OUTPUT 0 LDBL_DIG)
list (GET PROG_OUTPUT 1 FLT128_DIG)
-if (SIZEOF___FLOAT128 EQUAL 0 OR FLT128_DIG EQUAL 0)
+if (${HDF_PREFIX}_SIZEOF___FLOAT128 EQUAL 0 OR FLT128_DIG EQUAL 0)
set (${HDF_PREFIX}_HAVE_FLOAT128 0)
set (${HDF_PREFIX}_SIZEOF___FLOAT128 0)
set (${HDF_PREFIX}_PAC_C_MAX_REAL_PRECISION ${LDBL_DIG})