mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 12:19:41 -06:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user