From 756b098533f54f9bc853bfb587fba754651e9305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= Date: Mon, 30 May 2016 14:29:57 +0200 Subject: [PATCH] Enforce support for C++-14 * This requires at least Dune 2.4.1. * GCC 4.8 does not match this requirement --- CMakeLists.txt | 3 +++ dune.module | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5bf9de6896..0803ffa3cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,9 @@ include(DuneMacros) dune_project() dune_enable_all_packages() +# enforce C++-14 +dune_require_cxx_standard(MODULE "DuMuX" VERSION 14) + add_subdirectory(cmake/modules) add_subdirectory(doc) add_subdirectory(dumux) diff --git a/dune.module b/dune.module index 927e6fdc07..580744974d 100644 --- a/dune.module +++ b/dune.module @@ -1,6 +1,6 @@ Module: dumux Version: 2.10-git Maintainer: dumux@listserv.uni-stuttgart.de -Depends: dune-grid (>= 2.4) dune-localfunctions (>= 2.4) dune-istl (>= 2.4) +Depends: dune-common (>= 2.4.1) dune-grid (>= 2.4) dune-localfunctions (>= 2.4) dune-istl (>= 2.4) Suggests: dune-alugrid (>=2.4) dune-pdelab (>=2.0) dune-multidomain dune-cornerpoint dune-foamgrid (>=2.4) Whitespace-Hook: Yes -- GitLab