Skip to content

Commit b00f77a

Browse files
committed
find szip: need path_suffixed
1 parent 9f2529f commit b00f77a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/FindHDF5.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,14 @@ if(hdf5_have_zlib)
182182
NAMES szip sz
183183
NAMES_PER_DIR
184184
HINTS ${SZIP_ROOT} ${ZLIB_ROOT}
185+
PATH_SUFFIXES lib lib64
185186
DOC "SZIP API"
186187
)
187188

188189
find_path(SZIP_INCLUDE_DIR
189190
NAMES szlib.h
190191
HINTS ${SZIP_ROOT} ${ZLIB_ROOT}
192+
PATH_SUFFIXES include
191193
DOC "SZIP header"
192194
)
193195

0 commit comments

Comments
 (0)