Support dune-uggrid (successor of UG).

This commit is contained in:
Markus Blatt
2018-01-18 22:06:57 +01:00
parent 27204e3439
commit 3681fe0800
3 changed files with 36 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ find_opm_package (
"CXX11Features REQUIRED;
dune-common REQUIRED;
dune-geometry REQUIRED;
dune-uggrid;
MPI;
UG
"

View File

@@ -0,0 +1,34 @@
include (OpmPackage)
find_opm_package (
# module name
"dune-uggrid"
# dependencies
# TODO: we should probe for all the HAVE_* values listed below;
# however, we don't actually use them in our implementation, so
"CXX11Features REQUIRED;
dune-common REQUIRED
"
# header to search for
""
# library to search for
"duneuggrid"
# defines to be added to compilations
""
# test program
""
# config variable
"")
#debug_find_vars ("dune-uggrid")
# make version number available in config.h
include (UseDuneVer)
find_dune_version ("dune" "uggrid")
# deactivate search for UH
set(UG_FOUND ${dune-uggrid_FOUND})

View File

@@ -60,6 +60,7 @@ set (_opm_proj_exemptions
dune-istl
dune-grid
dune-geometry
dune-uggrid
dune-alugrid
dune-localfunctions
dune-fem