From 5bcf394fbaf50f254c998120e1dd6e84f711e0f7 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Thu, 21 Nov 2024 11:40:22 -0600 Subject: [PATCH] Correct spelling --- CMakeFilters.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeFilters.cmake b/CMakeFilters.cmake index 5f74b7647ac..928a678a063 100644 --- a/CMakeFilters.cmake +++ b/CMakeFilters.cmake @@ -94,12 +94,12 @@ if (HDF5_ENABLE_ZLIB_SUPPORT) endif () set(ZLIB_FOUND FALSE) if (HDF5_USE_ZLIB_STATIC) - set(ZLIB_SEACH_TYPE static) + set(ZLIB_SEARCH_TYPE static) else () - set(ZLIB_SEACH_TYPE shared) + set(ZLIB_SEARCH_TYPE shared) endif () # Search pure Config mode first - find_package (ZLIB NAMES ${PACKAGE_NAME} OPTIONAL_COMPONENTS ${ZLIB_SEACH_TYPE}) + find_package (ZLIB NAMES ${PACKAGE_NAME} OPTIONAL_COMPONENTS ${ZLIB_SEARCH_TYPE}) if (NOT ZLIB_FOUND) if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0") set(ZLIB_USE_STATIC_LIBS ${HDF5_USE_ZLIB_STATIC})