diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-04-04 17:07:50 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-04-04 17:07:50 (GMT) |
commit | 7db14a3f2aad0c89d3e609de27cd0425a53479db (patch) | |
tree | 6a99a0640c0261ab76857460c96ed0d7ba838aeb /CMakeFilters.cmake | |
parent | 0f859bed9d72623db716ee7ddb015c6ddce6f0e2 (diff) | |
download | hdf5-7db14a3f2aad0c89d3e609de27cd0425a53479db.zip hdf5-7db14a3f2aad0c89d3e609de27cd0425a53479db.tar.gz hdf5-7db14a3f2aad0c89d3e609de27cd0425a53479db.tar.bz2 |
Merge in CMake changes from develop
Diffstat (limited to 'CMakeFilters.cmake')
-rw-r--r-- | CMakeFilters.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeFilters.cmake b/CMakeFilters.cmake index 71dabb1..5a89564 100644 --- a/CMakeFilters.cmake +++ b/CMakeFilters.cmake @@ -27,7 +27,15 @@ if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MAT set (TGZPATH ${HDF5_SOURCE_DIR}) endif () set (ZLIB_URL ${TGZPATH}/${ZLIB_TGZ_NAME}) + if (NOT EXISTS "${ZLIB_URL}") + 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 (HDF5_ENABLE_SZIP_SUPPORT OFF CACHE BOOL "" FORCE) + message (STATUS "Filter SZIP file ${SZIP_URL} not found") + endif () else () set (ZLIB_USE_EXTERNAL 0) set (SZIP_USE_EXTERNAL 0) |