Fix syntax error in zlib setup (#5545)

This commit is contained in:
Matt L
2025-05-22 06:34:33 -05:00
committed by GitHub
parent 973dca8c30
commit 8702eb7358
+1 -1
View File
@@ -120,7 +120,7 @@ if (HDF5_ENABLE_ZLIB_SUPPORT)
endif ()
find_package (ZLIB NAMES ${PACKAGE_NAME} CONFIG OPTIONAL_COMPONENTS ${ZLIB_SEARCH_TYPE})
endif ()
set(H5_ZLIB_FOUND ZLIB_FOUND})
set(H5_ZLIB_FOUND ${ZLIB_FOUND})
if (H5_ZLIB_FOUND)
if (HDF5_USE_ZLIB_NG)
set (H5_ZLIB_HEADER "zlib-ng.h")