Skip to content

Commit

Permalink
findHDF5: add missing no_default_path include suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Oct 1, 2021
1 parent 6486000 commit 797764b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/Modules/FindHDF5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ if(HDF5_ROOT OR DEFINED ENV{HDF5_ROOT})
find_path(HDF5_Fortran_INCLUDE_DIR
NAMES hdf5.mod
NO_DEFAULT_PATH
HINTS ${HDF5_ROOT} ENV HDF5_ROOT
PATH_SUFFIXES ${hdf5_msuf}
HINTS ${HDF5_C_INCLUDE_DIR} ${HDF5_ROOT} ENV HDF5_ROOT
PATH_SUFFIXES include
DOC "HDF5 Fortran module path"
)
else()
Expand Down

0 comments on commit 797764b

Please sign in to comment.