mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-12-23 04:43:57 +01:00
updated FCFLAGS when HDF5 is found with pkg-config
This commit is contained in:
parent
6348bacc4b
commit
3e8e6c74ed
@ -71,6 +71,7 @@ elif test "x${hdf5}" = xyes; then
|
|||||||
if test "x${have_hdf5}" = xno; then
|
if test "x${have_hdf5}" = xno; then
|
||||||
PKG_CHECK_MODULES([HDF5], [hdf5 >= 1.8])
|
PKG_CHECK_MODULES([HDF5], [hdf5 >= 1.8])
|
||||||
CFLAGS="${HDF5_CFLAGS} ${CFLAGS}"
|
CFLAGS="${HDF5_CFLAGS} ${CFLAGS}"
|
||||||
|
FCFLAGS="${HDF5_CFLAGS} ${FCFLAGS}"
|
||||||
LIBS="${HDF5_LIBS} -lhdf5_hl ${LIBS}"
|
LIBS="${HDF5_LIBS} -lhdf5_hl ${LIBS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user