summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-12 19:15:40 (GMT)
committerGitHub <noreply@github.com>2023-06-12 19:15:40 (GMT)
commitcedbc2eae079f4d375e8ae7f7ce07ef05cadca89 (patch)
tree9f14b9d1c1429b82d9c6d562ec0219ea6b30d95c
parenta1a9526b1438b5275e15e46b2bd890e94b88231f (diff)
downloadhdf5-cedbc2eae079f4d375e8ae7f7ce07ef05cadca89.zip
hdf5-cedbc2eae079f4d375e8ae7f7ce07ef05cadca89.tar.gz
hdf5-cedbc2eae079f4d375e8ae7f7ce07ef05cadca89.tar.bz2
Remove variable dereferences in CMake (#3080)
-rw-r--r--config/cmake/ConfigureChecks.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index e0cd0ba..4be20a8 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -135,7 +135,7 @@ endif ()
## Check for non-standard extension quadmath.h
CHECK_INCLUDE_FILES(quadmath.h C_HAVE_QUADMATH)
-if (${C_HAVE_QUADMATH})
+if (C_HAVE_QUADMATH)
set(${HDF_PREFIX}_HAVE_QUADMATH_H 1)
else ()
set(${HDF_PREFIX}_HAVE_QUADMATH_H 0)
@@ -753,7 +753,7 @@ endif()
if (HDF5_BUILD_FORTRAN)
HDF_CHECK_TYPE_SIZE(__float128 _SIZEOF___FLOAT128)
- if (${_SIZEOF___FLOAT128})
+ if (_SIZEOF___FLOAT128)
set (${HDF_PREFIX}_HAVE_FLOAT128 1)
set (${HDF_PREFIX}_SIZEOF___FLOAT128 ${_SIZEOF___FLOAT128})
else ()
@@ -762,7 +762,7 @@ if (HDF5_BUILD_FORTRAN)
endif ()
HDF_CHECK_TYPE_SIZE(_Quad _SIZEOF__QUAD)
- if (NOT ${_SIZEOF__QUAD})
+ if (NOT _SIZEOF__QUAD)
set (${HDF_PREFIX}_SIZEOF__QUAD 0)
else ()
set (${HDF_PREFIX}_SIZEOF__QUAD ${_SIZEOF__QUAD})