2018-01-18 15:06:57 -06:00
|
|
|
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
|
2020-02-10 03:20:17 -06:00
|
|
|
"dune-common REQUIRED
|
2018-01-18 15:06:57 -06:00
|
|
|
"
|
|
|
|
# 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")
|
|
|
|
|
2018-01-22 08:45:50 -06:00
|
|
|
# deactivate search for UG
|
2018-01-18 15:06:57 -06:00
|
|
|
set(UG_FOUND ${dune-uggrid_FOUND})
|