From d537a55c5d884c4fc6126d81c469b5e719250568 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org>
Date: Sat, 9 May 2020 00:33:05 +0200
Subject: [PATCH] Mention required CMake version as 3.13

---
 bin/duneproject                 | 6 ++----
 doc/buildsystem/dune-common.rst | 5 +----
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/bin/duneproject b/bin/duneproject
index dad35c858..e6baaa268 100755
--- a/bin/duneproject
+++ b/bin/duneproject
@@ -346,7 +346,7 @@ Preparing the Sources
 Additional to the software mentioned in README you'll need the
 following programs installed on your system:
 
-  cmake >= 2.8.12
+  cmake >= 3.13
 
 Getting started
 ---------------
@@ -398,9 +398,7 @@ R_DELIM
 ################## CMakeLists.txt ##################
 echo "- $PROJECT/CMakeLists.txt"
 cat> "$PROJECT/CMakeLists.txt" << M_DELIM
-# We require version CMake version 3.1 to prevent issues
-# with dune_enable_all_packages and older CMake versions.
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.13)
 project($PROJECT CXX)
 
 if(NOT (dune-common_DIR OR dune-common_ROOT OR
diff --git a/doc/buildsystem/dune-common.rst b/doc/buildsystem/dune-common.rst
index 16045ff80..d34085cc9 100644
--- a/doc/buildsystem/dune-common.rst
+++ b/doc/buildsystem/dune-common.rst
@@ -15,12 +15,9 @@ CMake...
 - is portable
 - is controlled by ONE rather simple language
 
-Dune got support for CMake in version 2.3 alongside the old Autotools build system. It got the default in the
-2.4 release.
-
 You can install CMake through your favorite package manager or downloading source code from
 `KITWare <http://www.cmake.org>`_
-The minimum required version to build Dune with CMake is 3.1.
+The minimum required version to build Dune with CMake is 3.13.
 
 .. _howtouse:
 
-- 
GitLab