diff options
author | Brad King <brad.king@kitware.com> | 2016-09-02 17:40:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-02 19:09:47 (GMT) |
commit | befe8648a3813e35869e8ba8291f43cb8bfca962 (patch) | |
tree | 15d590cea140744198c93d65bc52fca6ae4e997a /Modules/FindHDF5.cmake | |
parent | 8eb0b56c2ace0f005cba436268337f509e06033f (diff) | |
download | CMake-befe8648a3813e35869e8ba8291f43cb8bfca962.zip CMake-befe8648a3813e35869e8ba8291f43cb8bfca962.tar.gz CMake-befe8648a3813e35869e8ba8291f43cb8bfca962.tar.bz2 |
FindHDF5: Fix regression in finding hdf5hl_fortran
Refactoring in commit v3.6.0-rc1~72^2 (HDF5: Rework component searching
to correctly find HL for all bindings, 2016-05-12) accidentally dropped
the name `hdf5hl_fortran` from the list of library names and replaced it
with `hdf5_hl_fortran`. IIUC the latter name is when HDF5 is built with
CMake and the former name is for other build systems. Since this is the
non-CMake code path, user the former name.
Closes: #16233
Diffstat (limited to 'Modules/FindHDF5.cmake')
-rw-r--r-- | Modules/FindHDF5.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index a898386..aa2764b 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -613,7 +613,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 hdf5_hl_fortran ${HDF5_C_HL_LIBRARY_NAMES} ${HDF5_Fortran_LIBRARY_NAMES}) + set(HDF5_Fortran_HL_LIBRARY_NAMES hdf5hl_fortran ${HDF5_C_HL_LIBRARY_NAMES} ${HDF5_Fortran_LIBRARY_NAMES}) foreach(__lang IN LISTS HDF5_LANGUAGE_BINDINGS) # find the HDF5 include directories |