added: OpenMP support to build system

This commit is contained in:
Arne Morten Kvarving 2012-09-25 14:44:00 +02:00
parent f77742c79b
commit 43d7d886fd

View File

@ -21,6 +21,8 @@ AM_CONFIG_HEADER([config.h])
# this module depends on dune-common dune-grid dune-istl dune-cornerpoint opm-porsol
# this implies checking for [dune-common], [dune-grid], [dune-istl], [dune-cornerpoint], [opm-porsol]
DUNE_CHECK_ALL
AC_LANG_PUSH([C++])
m4_ifdef([AC_OPENMP], [AC_OPENMP])
# implicitly set the Dune-flags everywhere
AC_SUBST(AM_CPPFLAGS, '$(DUNE_CPPFLAGS) -I$(top_srcdir)')