Skip to content

FindHDF5: Fix H5_VERSION on Patch in C

Axel Huebl requested to merge ax3l/cmake:fix-hdf5Version into master

Fix the detection of patch releases in FindHDF5.cmake. The detection failed for patch releases, such as 1.10.0-patch1 since recently and returned .1 instead which is insufficient in VERSION compares.

This looks like a copy-paste-error from the CXX section.

Detected on Piz Daint (CSCS) with CMake 3.8.1 and a Cray flavor of HDF5 1.10.0-patch1 (module "Cray HDF5 1.10.0.3").

Topic-rename: FindHDF5-c-version

Edited by Brad King

Merge request reports

Loading