summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-02-05 21:44:38 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-02-05 21:44:38 (GMT)
commitabd74c8310792ad52085a10ca46ec4ef4eafd976 (patch)
treefb386e0db76c042c4715ae619a934a23edd94b7b
parent18e875f75fadc93a1c8132420f612e188933de85 (diff)
downloadhdf5-abd74c8310792ad52085a10ca46ec4ef4eafd976.zip
hdf5-abd74c8310792ad52085a10ca46ec4ef4eafd976.tar.gz
hdf5-abd74c8310792ad52085a10ca46ec4ef4eafd976.tar.bz2
Switch OFF if compression source is not available
-rw-r--r--CMakeFilters.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeFilters.cmake b/CMakeFilters.cmake
index 0e05cf0..5a89564 100644
--- a/CMakeFilters.cmake
+++ b/CMakeFilters.cmake
@@ -28,12 +28,12 @@ if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MAT
endif ()
set (ZLIB_URL ${TGZPATH}/${ZLIB_TGZ_NAME})
if (NOT EXISTS "${ZLIB_URL}")
- set (ZLIB_USE_EXTERNAL 0)
+ set (HDF5_ENABLE_Z_LIB_SUPPORT OFF CACHE BOOL "" FORCE)
message (STATUS "Filter ZLIB file ${ZLIB_URL} not found")
endif ()
set (SZIP_URL ${TGZPATH}/${SZIP_TGZ_NAME})
if (NOT EXISTS "${SZIP_URL}")
- set (SZIP_USE_EXTERNAL 0)
+ set (HDF5_ENABLE_SZIP_SUPPORT OFF CACHE BOOL "" FORCE)
message (STATUS "Filter SZIP file ${SZIP_URL} not found")
endif ()
else ()