Skip to content
Snippets Groups Projects
Commit 99467cae authored by Robert Kloefkorn's avatar Robert Kloefkorn
Browse files

use DUNE_ADD_ALL_PKG to add flags to global flag variables.

parent b66e2fd9
No related branches found
No related tags found
No related merge requests found
......@@ -148,13 +148,12 @@ AC_DEFUN([DUNE_PATH_PARMETIS],[
This is only true if MPI was found by configure
_and_ if the application uses the PARMETIS_CPPFLAGS])
AC_MSG_RESULT(ok)
# add to global list
DUNE_PKG_LIBS="$PARMETIS_LIBS $DUNE_PKG_LIBS"
DUNE_PKG_LDFLAGS="$DUNE_PKG_LDFLAGS $PARMETIS_LDFLAGS"
DUNE_PKG_CPPFLAGS="$DUNE_PKG_CPPFLAGS $PARMETIS_CPPFLAGS"
# re-set variable correctly
# add to global list
DUNE_ADD_ALL_PKG([PARMETIS], [\${PARMETIS_CPPFLAGS}],
[\${PARMETIS_LDFLAGS}], [\${PARMETIS_LIBS}])
# re-set variable correctly
with_parmetis="yes"
else
with_parmetis="no"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment