opm-common/cmake/Modules/Finddune-uggrid.cmake

34 lines
617 B
CMake
Raw Permalink Normal View History

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
"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})