Finddune-grid.cmake: test for ALUGrid and METIS

ALUGrid is needed to avoid unresolved symbols if dune-grid was
compiled with it. METIS is used by the parallel version of
ALUGrid. (Although it is not open source...)
This commit is contained in:
Andreas Lauser 2013-08-13 15:54:57 +02:00 committed by Roland Kaufmann
parent 9ef6a91bb5
commit b5c27dbe7d

View File

@ -21,7 +21,10 @@ find_opm_package (
# we just include them to forward here in case anyone else does
"CXX11Features REQUIRED;
dune-common REQUIRED;
dune-geometry REQUIRED
dune-geometry REQUIRED;
MPI;
ALUGrid;
METIS
"
# header to search for
"dune/grid/onedgrid.hh"
@ -44,6 +47,7 @@ int main (void) {
HAVE_UG;
HAVE_DUNE_FEM;
HAVE_ALUGRID;
HAVE_METIS;
HAVE_GRIDTYPE;
HAVE_GRAPE;
HAVE_PSURFACE;