From 2d519c677135eaac25f6f2a0ac56427b58fbe568 Mon Sep 17 00:00:00 2001 From: Roland Haas Date: Mon, 12 Oct 2020 08:38:57 -0500 Subject: [PATCH] HDF5: request at least version 1.8 from pkg-config --- src/detect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect.sh b/src/detect.sh index d85b01e..7483996 100755 --- a/src/detect.sh +++ b/src/detect.sh @@ -57,7 +57,7 @@ HDF5_REQ_LIBS="${HDF5_CXX_LIBS} ${HDF5_FORTRAN_LIBS} ${HDF5_C_LIBS}" # Try to find the library if build isn't explicitly requested if [ -z "${HDF5_BUILD}" -a -z "${HDF5_INC_DIRS}" -a -z "${HDF5_LIB_DIRS}" -a -z "${HDF5_LIBS}" ]; then - find_lib HDF5 hdf5 1 1.0 "$HDF5_REQ_LIBS" "hdf5.h" "$HDF5_DIR" + find_lib HDF5 hdf5 1 1.8 "$HDF5_REQ_LIBS" "hdf5.h" "$HDF5_DIR" # Sadly, pkg-config for HDF5 is good for paths, but bad for the list of # available (and necessary) library names, so we have to fix things