forked from HDFGroup/hdf5
-
Notifications
You must be signed in to change notification settings - Fork 0
Mac
H. Joe Lee edited this page Oct 19, 2023
·
2 revisions
brew install zlib
- Add the following in line 102 of
CMakeFilters.cmake
.
find_package (ZLIB)
if (ZLIB_FOUND)
set (LINK_COMP_LIBS ${LINK_COMP_LIBS} ${ZLIB_LIBRARIES})
- Enable ZLIB.
cmake -G Ninja -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=ON -DHDF5_E\
NABLE_SUBFILING_VFD:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=ONFF -DHDF5_ENABLE_PARALLEL:B\
OOL=ON -DZLIB_INCLUDE_DIRS=/usr/local/opt/zlib/include -DZLIB_ROOT=/usr/local/opt/zlib ..