From 0d27bd4bff528f4a63d9fa3fd2c63ffec643a8b2 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Tue, 16 Dec 2014 12:37:32 +0100 Subject: [PATCH] Finddune-grid.cmake: always enable the experimental grid extensions this is now done by a config.h macro. The reason is that quite a bit of code depends on boundary IDs which are only available as an "experimental" grid extension in recent Dune releases... --- cmake/Modules/Finddune-grid.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/Modules/Finddune-grid.cmake b/cmake/Modules/Finddune-grid.cmake index 4fa53ae8..0a32968d 100644 --- a/cmake/Modules/Finddune-grid.cmake +++ b/cmake/Modules/Finddune-grid.cmake @@ -11,6 +11,9 @@ # This code is licensed under The GNU General Public License v3.0 include (OpmPackage) + +set(DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS 1) + find_opm_package ( # module name "dune-grid" @@ -52,7 +55,8 @@ int main (void) { HAVE_PSURFACE; HAVE_AMIRAMESH; HAVE_ALBERTA; - HAVE_STDINT_H + HAVE_STDINT_H; + DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS ") #debug_find_vars ("dune-grid")