Skip to content

FindHDF5: Fix finding both debug and release libs

Kris Thielemans requested to merge krthie/cmake:FixHDF5Interface_link into master

Use target_link_libraries to set INTERFACE_LINK_LIBRARIES so that the debug and optimized keywords work.

Fixes: #21637 (closed)
Backport: release
Topic-rename: FindHDF5-dbg-and-rel

Edited by Brad King

Merge request reports

Loading