Skip to content

New FindHDF5.cmake

Compare
Choose a tag to compare
@scivision scivision released this 02 Nov 02:13
a8a1c06

Since CMake FindHDF5.cmake targets different use cases than are important for h5fortran, we created from scratch a new FindHDF5.cmake that addresses key needs including

  • don't use compiler wrapper, pkg-config as these are too often broken
  • test that each language links before declaring HDF5_FOUND

This allows removing numerous hacks and makes finding a working HDF5 much more robust.
Please let us know if this is not finding your expected HDF5 library.