FindHDF5 does not set TYPE of imported library targets
This should produce either SHARED_LIBRARY
or STATIC_LIBRARY
, but instead produces UNKNOWN_LIBRARY
:
get_target_property(HDF5_LIBRARY_TYPE hdf5::hdf5 TYPE)
message(STATUS "HDF5_LIBRARY_TYPE: ${HDF5_LIBRARY_TYPE}")