Previously, we have been using hdf5 version 1.8.17 with CMake. After building and installing hdf5, the file
hdf5-config.cmake was located in
and I was able to locate the package just fine when calling
But now, in version 1.8.21, the file is located instead in:
However, this is against CMake convention, and CMake does not pick up the file when calling
An exhaustive list, where CMake looks for the config files can be found here https://cmake.org/cmake/help/v3.15/command/find_package.html?highlight=i#search-procedure, but
<prefix>/cmake/<name>* is not one of them.
Can you please follow CMake convention here, so that the package is locatable again, without explicitly setting a
HDF5_DIR variable, pointing to the location?