From 1a748fc9fd7a7fa8307a6a2fee9b0b1292717d5f Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Mon, 4 May 2015 21:11:08 +0200 Subject: [PATCH] nf2ff: fix build system Signed-off-by: Thorsten Liebig --- nf2ff/nf2ff.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nf2ff/nf2ff.pro b/nf2ff/nf2ff.pro index 49b851d..4283969 100644 --- a/nf2ff/nf2ff.pro +++ b/nf2ff/nf2ff.pro @@ -42,7 +42,11 @@ unix:!macx { } else { LIBS +=-L$$VTK_LIBRARYPATH } - LIBS += -lhdf5_hl -lhdf5 + #hdf5 + !isEmpty(HDF5_ROOT) {LIBS += -L$$HDF5_ROOT} + LIBS += -lhdf5 -lhdf5_hl + INCLUDEPATH += /usr/include/hdf5/serial + INCLUDEPATH += /usr/include/mpi } macx {