diff options
author | Kris Thielemans <k.thielemans@ucl.ac.uk> | 2020-12-26 20:24:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-04 19:26:38 (GMT) |
commit | 5267ba9d63524479a11d71f7a4458cf95b8ef445 (patch) | |
tree | 306b0744c80e8f6702873985a87aa6e3adf58ae0 /Source/cmGlobalXCodeGenerator.h | |
parent | 511158a03ba52c38b68e938704b07718dd3e6786 (diff) | |
download | CMake-5267ba9d63524479a11d71f7a4458cf95b8ef445.zip CMake-5267ba9d63524479a11d71f7a4458cf95b8ef445.tar.gz CMake-5267ba9d63524479a11d71f7a4458cf95b8ef445.tar.bz2 |
FindHDF5: Fix finding both debug and release libs
Use `target_link_libraries` to set `INTERFACE_LINK_LIBRARIES` so that
the `debug` and `optimized` keywords work.
In commit a8e0a6b3e4 (FindHDF5: Port changes from VTK, 2020-06-10,
v3.19.0-rc1~312^2~1) we added use of `HDF5_LIBRARIES`, but the value may
contain `debug` and `optimized` keywords.
Fixes: #21637
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
0 files changed, 0 insertions, 0 deletions