summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeFilters.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeFilters.cmake b/CMakeFilters.cmake
index 962c68b..2706542 100644
--- a/CMakeFilters.cmake
+++ b/CMakeFilters.cmake
@@ -123,9 +123,9 @@ if (HDF5_ENABLE_SZIP_SUPPORT)
message (STATUS "Filter SZIP is built")
if (USE_LIBAEC)
message (STATUS "... with library AEC")
- set (SZ_PACKAGE_NAME LIBAEC_PACKAGE_NAME)
+ set (SZ_PACKAGE_NAME ${LIBAEC_PACKAGE_NAME})
else ()
- set (SZ_PACKAGE_NAME SZIP_PACKAGE_NAME)
+ set (SZ_PACKAGE_NAME ${SZIP_PACKAGE_NAME})
endif ()
else ()
message (FATAL_ERROR "SZIP is Required for SZIP support in HDF5")