Skip to content
H. Joe Lee edited this page Oct 19, 2023 · 2 revisions

ZLIB

  1. brew install zlib
  2. Add the following in line 102 of CMakeFilters.cmake.
  find_package (ZLIB)
  if (ZLIB_FOUND)
    set (LINK_COMP_LIBS ${LINK_COMP_LIBS} ${ZLIB_LIBRARIES})
  1. 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 ..
Clone this wiki locally