FindHDF5: CMake 3.19.1 breaks find_package(HDF5 COMPONENTS Fortran HL)
cmake_minimum_required(VERSION 3.19) project(Foo Fortran) find_package(HDF5 COMPONENTS Fortran HL)
leads to the following error on Archlinux (I don't know if the error happens on different distros).
-- Found HDF5: /usr/lib/libhdf5_fortran.so;/usr/lib/libhdf5.so;/usr/lib/libsz.so;/usr/lib/libz.so;/usr/lib/libdl.so;/usr/lib/libm.so (found version "1.12.0") found components: Fortran HL CMake Error at /usr/share/cmake-3.19/Modules/FindHDF5.cmake:1086 (message): HDF5 was found, but a different variable was set which contains its location. Call Stack (most recent call first): CMakeLists.txt:3 (find_package)
For reference, I initially opened an issue on Archlinux where they told me it was an upstream issue.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information