Skip to content

Commit

Permalink
find szip: need path_suffixed
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Sep 6, 2024
1 parent 9f2529f commit b00f77a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/FindHDF5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,14 @@ if(hdf5_have_zlib)
NAMES szip sz
NAMES_PER_DIR
HINTS ${SZIP_ROOT} ${ZLIB_ROOT}
PATH_SUFFIXES lib lib64
DOC "SZIP API"
)

find_path(SZIP_INCLUDE_DIR
NAMES szlib.h
HINTS ${SZIP_ROOT} ${ZLIB_ROOT}
PATH_SUFFIXES include
DOC "SZIP header"
)

Expand Down

0 comments on commit b00f77a

Please sign in to comment.