Commit ff84a80b authored by Ben Boeckel's avatar Ben Boeckel
Browse files

FindHDF5: search for the new Fortran HL library name

HDF5 1.10.6 renamed this library to match the other language binding
library names.

Fixes: #20205
parent 26af5908
Pipeline #222406 waiting for manual action with stages
in 5 minutes and 5 seconds
......@@ -797,7 +797,7 @@ if( NOT HDF5_FOUND )
set(HDF5_CXX_HL_LIBRARY_NAMES hdf5_hl_cpp ${HDF5_C_HL_LIBRARY_NAMES} ${HDF5_CXX_LIBRARY_NAMES})
set(HDF5_Fortran_LIBRARY_NAMES hdf5_fortran ${HDF5_C_LIBRARY_NAMES})
set(HDF5_Fortran_HL_LIBRARY_NAMES hdf5hl_fortran ${HDF5_C_HL_LIBRARY_NAMES} ${HDF5_Fortran_LIBRARY_NAMES})
set(HDF5_Fortran_HL_LIBRARY_NAMES hdf5_hl_fortran hdf5hl_fortran ${HDF5_C_HL_LIBRARY_NAMES} ${HDF5_Fortran_LIBRARY_NAMES})
# suffixes as seen on Linux, MSYS2, ...
set(_lib_suffixes hdf5)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment