Fix name setting

This commit is contained in:
Allen Byrne 2020-05-08 10:10:49 -05:00
parent aef4c9b02b
commit 8cff990553

View File

@ -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")