summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-06 12:30:30 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-04-06 12:30:37 (GMT)
commit03cfcfb5ada74ce1b4810e42ca9baf1e96158f23 (patch)
tree7b355c111047a3ad89886aa67607542b52d981cd /Modules
parent392fffbd526549be07ba1f6f47540c0bc31cb7e8 (diff)
parentff84a80b461c91d35cbb320d3bede49edb180632 (diff)
downloadCMake-03cfcfb5ada74ce1b4810e42ca9baf1e96158f23.zip
CMake-03cfcfb5ada74ce1b4810e42ca9baf1e96158f23.tar.gz
CMake-03cfcfb5ada74ce1b4810e42ca9baf1e96158f23.tar.bz2
Merge topic 'FindHDF5-new-fortran-library-name'
ff84a80b46 FindHDF5: search for the new Fortran HL library name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5976
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindHDF5.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake
index 16bf279..ec5ebdd 100644
--- a/Modules/FindHDF5.cmake
+++ b/Modules/FindHDF5.cmake
@@ -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)