We set HDF5_REQUIRED_VERSION to 1.8, and thus do find_package(HDF5 1.8 REQUIRED). However, HDF5 exports its hdf5-config-version.cmake to require MAJOR and MINOR to be the same. Therefore, FindHDF5.cmake refuses to use the config version, and falls back on finding h5cc etc. That can then fail for other reasons (e.g. it isn't installed or doesn't work, as is the in conda installed HDF5 when cxx-compiler is not installed).
In practice however, we haven't seen any problems with much more recent versions of HDF5, so requiring 1.8 is the wrong thing to do.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Closed #974 as completed via aceacb6.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()