summaryrefslogtreecommitdiffstats
path: root/CMakeFilters.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-02-17 16:05:08 (GMT)
committerGitHub <noreply@github.com>2022-02-17 16:05:08 (GMT)
commit08ec5b45a5c069077087351923afe780488421a3 (patch)
tree5511f7619f1a7cb4e5402a3f0736124ab1a66f0c /CMakeFilters.cmake
parentbbb0acf353920f8315ad59e80e9e8d0754cca655 (diff)
downloadhdf5-08ec5b45a5c069077087351923afe780488421a3.zip
hdf5-08ec5b45a5c069077087351923afe780488421a3.tar.gz
hdf5-08ec5b45a5c069077087351923afe780488421a3.tar.bz2
Add SZ filter and adjust compression file names to avoid conflicts (#1434)
* Updated plugins project required adjustments * Updated plugins need to distinguish external libs * Fix missed rename * Use same name for windows as linux - avoid name clash
Diffstat (limited to 'CMakeFilters.cmake')
-rw-r--r--CMakeFilters.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeFilters.cmake b/CMakeFilters.cmake
index 51ac61c..725390b 100644
--- a/CMakeFilters.cmake
+++ b/CMakeFilters.cmake
@@ -19,7 +19,7 @@ include (FetchContent)
set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building (NO GIT TGZ)")
set_property (CACHE HDF5_ALLOW_EXTERNAL_SUPPORT PROPERTY STRINGS NO GIT TGZ)
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
- option (ZLIB_USE_EXTERNAL "Use External Library Building for ZLIB" 1)
+ option (ZLIB_USE_EXTERNAL "Use External Library Building for HDF5_ZLIB" 1)
option (SZIP_USE_EXTERNAL "Use External Library Building for SZIP" 1)
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT")
set (ZLIB_URL ${ZLIB_GIT_URL} CACHE STRING "Path to zlib git repository")
@@ -82,7 +82,7 @@ if (HDF5_ENABLE_Z_LIB_SUPPORT)
set (H5_HAVE_ZLIB_H 1)
set (H5_HAVE_LIBZ 1)
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
- message (VERBOSE "Filter ZLIB is built")
+ message (VERBOSE "Filter HDF5_ZLIB is built")
endif ()
else ()
message (FATAL_ERROR " ZLib is Required for ZLib support in HDF5")
@@ -100,7 +100,7 @@ if (HDF5_ENABLE_Z_LIB_SUPPORT)
set (LINK_COMP_LIBS ${LINK_COMP_LIBS} ${ZLIB_STATIC_LIBRARY})
INCLUDE_DIRECTORIES (${ZLIB_INCLUDE_DIRS})
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
- message (VERBOSE "Filter ZLIB is ON")
+ message (VERBOSE "Filter HDF5_ZLIB is ON")
endif ()
endif ()
@@ -149,9 +149,9 @@ if (HDF5_ENABLE_SZIP_SUPPORT)
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "... with library AEC")
endif ()
- set (SZ_PACKAGE_NAME ${LIBAEC_PACKAGE_NAME})
+ set (SZIP_PACKAGE_NAME ${LIBAEC_PACKAGE_NAME})
else ()
- set (SZ_PACKAGE_NAME ${SZIP_PACKAGE_NAME})
+ set (SZIP_PACKAGE_NAME ${SZIP_PACKAGE_NAME})
endif ()
else ()
message (FATAL_ERROR "SZIP is Required for SZIP support in HDF5")