mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-09 23:59:53 -05:00
FindHDF5: Append hdf5 to hdf5_hl to avoid undefined references
This commit is contained in:
committed by
Brad King
parent
cd6f0ef35a
commit
08f4b5dcf9
@@ -761,7 +761,7 @@ mark_as_advanced( HDF5_DIFF_EXECUTABLE )
|
||||
if( NOT HDF5_FOUND )
|
||||
# seed the initial lists of libraries to find with items we know we need
|
||||
set(HDF5_C_LIBRARY_NAMES hdf5)
|
||||
set(HDF5_C_HL_LIBRARY_NAMES hdf5_hl)
|
||||
set(HDF5_C_HL_LIBRARY_NAMES hdf5_hl ${HDF5_C_LIBRARY_NAMES} )
|
||||
|
||||
set(HDF5_CXX_LIBRARY_NAMES hdf5_cpp ${HDF5_C_LIBRARY_NAMES})
|
||||
set(HDF5_CXX_HL_LIBRARY_NAMES hdf5_hl_cpp ${HDF5_C_HL_LIBRARY_NAMES} ${HDF5_CXX_LIBRARY_NAMES})
|
||||
|
||||
Reference in New Issue
Block a user