File: Finddune-uggrid.cmake

package info (click to toggle)
opm-common 2022.10%2Bds-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 78,468 kB
  • sloc: cpp: 164,554; python: 2,872; sh: 216; xml: 174; ansic: 149; pascal: 136; makefile: 12
file content (33 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
  "
  # 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 UG
set(UG_FOUND ${dune-uggrid_FOUND})