1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-22 20:35:44 +01:00

updated FCFLAGS when HDF5 is found with pkg-config

This commit is contained in:
q-posev 2021-05-03 15:05:54 +02:00
parent 6348bacc4b
commit 3e8e6c74ed

View File

@ -71,6 +71,7 @@ elif test "x${hdf5}" = xyes; then
if test "x${have_hdf5}" = xno; then
PKG_CHECK_MODULES([HDF5], [hdf5 >= 1.8])
CFLAGS="${HDF5_CFLAGS} ${CFLAGS}"
FCFLAGS="${HDF5_CFLAGS} ${FCFLAGS}"
LIBS="${HDF5_LIBS} -lhdf5_hl ${LIBS}"
fi