From: Matthias Maier Date: Sun, 24 Jan 2021 18:05:00 +0000 (-0600) Subject: CMake: increase minimum required version X-Git-Tag: v9.3.0-rc1~568^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67c05f7fec1ba78ca6da049e9da6cda95498f03f;p=dealii.git CMake: increase minimum required version --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ab24b8f477..4819dfe0b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,17 +33,14 @@ MESSAGE(STATUS "This is CMake ${CMAKE_VERSION}") MESSAGE(STATUS "") -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) +CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0) # # We support all policy changes up to version 3.1.0. Thus, explicitly set # all policies CMP0001 - CMP0054 to new for version 3.1 (and later) to # avoid some unnecessary warnings. # -IF( "${CMAKE_VERSION}" VERSION_EQUAL "3.1" OR - "${CMAKE_VERSION}" VERSION_GREATER "3.1" ) - CMAKE_POLICY(VERSION 3.1.0) -ENDIF() +CMAKE_POLICY(VERSION 3.1.0) IF("${CMAKE_VERSION}" VERSION_LESS "3.11" AND POLICY CMP0037) # allow to override "test" target for quick tests diff --git a/cmake/configure/TestBoostBug/CMakeLists.txt b/cmake/configure/TestBoostBug/CMakeLists.txt index 9e90a4cc3d..10e970bf07 100644 --- a/cmake/configure/TestBoostBug/CMakeLists.txt +++ b/cmake/configure/TestBoostBug/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) +CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0) PROJECT(TestBoost) INCLUDE_DIRECTORIES(${BOOST_INCLUDE_DIRS}) diff --git a/doc/developers/testsuite.html b/doc/developers/testsuite.html index 4e24b16342..07dd28e6b5 100644 --- a/doc/developers/testsuite.html +++ b/doc/developers/testsuite.html @@ -720,7 +720,7 @@ $ ctest -V -R "category/my_new_test" a CMakeLists.txt file into it containing

-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 INCLUDE(${DEAL_II_TARGET_CONFIG})
diff --git a/doc/users/CMakeLists.txt.sample b/doc/users/CMakeLists.txt.sample
index 70078f0fe7..debd7ba45a 100644
--- a/doc/users/CMakeLists.txt.sample
+++ b/doc/users/CMakeLists.txt.sample
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0 REQUIRED
   HINTS ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/doc/users/CMakeLists.txt.sample2 b/doc/users/CMakeLists.txt.sample2
index 22ffa7aebb..400c91de74 100644
--- a/doc/users/CMakeLists.txt.sample2
+++ b/doc/users/CMakeLists.txt.sample2
@@ -22,7 +22,7 @@ SET(TARGET_SRC
   ${TARGET}.cc
   )
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 DEAL_II_INITIALIZE_CACHED_VARIABLES()
 PROJECT(${TARGET} CXX)
 DEAL_II_INVOKE_AUTOPILOT()
diff --git a/doc/users/CMakeLists.txt.sample3 b/doc/users/CMakeLists.txt.sample3
index ee0c15aed8..de3a08ebce 100644
--- a/doc/users/CMakeLists.txt.sample3
+++ b/doc/users/CMakeLists.txt.sample3
@@ -35,7 +35,7 @@ SET(TARGET_RUN
   # a custom command line, e.g. mpirun -np 2 ${TARGET}
   )
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 DEAL_II_INITIALIZE_CACHED_VARIABLES()
 PROJECT(${TARGET} CXX)
 DEAL_II_INVOKE_AUTOPILOT()
diff --git a/doc/users/cmake_user.html b/doc/users/cmake_user.html
index ef0fa4966e..360126d884 100644
--- a/doc/users/cmake_user.html
+++ b/doc/users/cmake_user.html
@@ -63,7 +63,7 @@
   version):
 
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0 REQUIRED
   HINTS ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
@@ -271,7 +271,7 @@ mycode/include/*.h
 In this case the top level CMakeLists.txt file may be:
 
 # top level CMakeLists.txt
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 FIND_PACKAGE(deal.II 9.3.0 REQUIRED)
 
 DEAL_II_INITIALIZE_CACHED_VARIABLES()
@@ -660,7 +660,7 @@ SET(TARGET_SRC
   # You can specify additional files here!
 )
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 DEAL_II_INITIALIZE_CACHED_VARIABLES()
 PROJECT(${TARGET} CXX)
 DEAL_II_INVOKE_AUTOPILOT()
diff --git a/doc/users/testsuite.html b/doc/users/testsuite.html
index 3d1303d85e..1132cab953 100644
--- a/doc/users/testsuite.html
+++ b/doc/users/testsuite.html
@@ -110,7 +110,7 @@ tests/my_test.prm
SET(TARGET step-1) SET(TARGET_SRC step-1.cc) -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) +CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0) FIND_PACKAGE(deal.II 9.3.0 REQUIRED HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} ) @@ -215,7 +215,7 @@ tests/support/my_test_2.output
 # top-level CMakelists.txt
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 FIND_PACKAGE(deal.II 9.3.0 REQUIRED
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
   )
diff --git a/examples/step-1/CMakeLists.txt b/examples/step-1/CMakeLists.txt
index dad44d265e..4e673f6f72 100644
--- a/examples/step-1/CMakeLists.txt
+++ b/examples/step-1/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-10/CMakeLists.txt b/examples/step-10/CMakeLists.txt
index 233b3e5070..c8393a99c7 100644
--- a/examples/step-10/CMakeLists.txt
+++ b/examples/step-10/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-11/CMakeLists.txt b/examples/step-11/CMakeLists.txt
index f15293fe6a..0b00d47c85 100644
--- a/examples/step-11/CMakeLists.txt
+++ b/examples/step-11/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-12/CMakeLists.txt b/examples/step-12/CMakeLists.txt
index 1ebd316a64..5be058cfa7 100644
--- a/examples/step-12/CMakeLists.txt
+++ b/examples/step-12/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-12b/CMakeLists.txt b/examples/step-12b/CMakeLists.txt
index 0a23551b11..4ea609f0d7 100644
--- a/examples/step-12b/CMakeLists.txt
+++ b/examples/step-12b/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-13/CMakeLists.txt b/examples/step-13/CMakeLists.txt
index ab6121308b..93aa88201d 100644
--- a/examples/step-13/CMakeLists.txt
+++ b/examples/step-13/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-14/CMakeLists.txt b/examples/step-14/CMakeLists.txt
index be498ecbfc..48e1f636d1 100644
--- a/examples/step-14/CMakeLists.txt
+++ b/examples/step-14/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-15/CMakeLists.txt b/examples/step-15/CMakeLists.txt
index fa8bb75db0..95e09392a0 100644
--- a/examples/step-15/CMakeLists.txt
+++ b/examples/step-15/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-16/CMakeLists.txt b/examples/step-16/CMakeLists.txt
index 9430dff31e..8831214f25 100644
--- a/examples/step-16/CMakeLists.txt
+++ b/examples/step-16/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-16b/CMakeLists.txt b/examples/step-16b/CMakeLists.txt
index f70b64f7f1..a9c586fe9e 100644
--- a/examples/step-16b/CMakeLists.txt
+++ b/examples/step-16b/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-17/CMakeLists.txt b/examples/step-17/CMakeLists.txt
index 5d70c01068..f2d615d153 100644
--- a/examples/step-17/CMakeLists.txt
+++ b/examples/step-17/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS
diff --git a/examples/step-18/CMakeLists.txt b/examples/step-18/CMakeLists.txt
index 58a20e85c0..3a4b8f0669 100644
--- a/examples/step-18/CMakeLists.txt
+++ b/examples/step-18/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS
diff --git a/examples/step-19/CMakeLists.txt b/examples/step-19/CMakeLists.txt
index 799ed6b63e..6ec49175ee 100644
--- a/examples/step-19/CMakeLists.txt
+++ b/examples/step-19/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0 QUIET
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-2/CMakeLists.txt b/examples/step-2/CMakeLists.txt
index 374894c75b..e8406f5e8b 100644
--- a/examples/step-2/CMakeLists.txt
+++ b/examples/step-2/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-20/CMakeLists.txt b/examples/step-20/CMakeLists.txt
index 08541066b2..d91c62ed21 100644
--- a/examples/step-20/CMakeLists.txt
+++ b/examples/step-20/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-21/CMakeLists.txt b/examples/step-21/CMakeLists.txt
index e9f8036ebe..3f117ba742 100644
--- a/examples/step-21/CMakeLists.txt
+++ b/examples/step-21/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-22/CMakeLists.txt b/examples/step-22/CMakeLists.txt
index fb8f51bc0f..ba5d70bc93 100644
--- a/examples/step-22/CMakeLists.txt
+++ b/examples/step-22/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-23/CMakeLists.txt b/examples/step-23/CMakeLists.txt
index 9627d87dac..f7cf199ac3 100644
--- a/examples/step-23/CMakeLists.txt
+++ b/examples/step-23/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-24/CMakeLists.txt b/examples/step-24/CMakeLists.txt
index 7a9ed4c408..334429313b 100644
--- a/examples/step-24/CMakeLists.txt
+++ b/examples/step-24/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-25/CMakeLists.txt b/examples/step-25/CMakeLists.txt
index db41c0116e..1b8a800490 100644
--- a/examples/step-25/CMakeLists.txt
+++ b/examples/step-25/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-26/CMakeLists.txt b/examples/step-26/CMakeLists.txt
index 7ae9ec87be..92f2d1aaad 100644
--- a/examples/step-26/CMakeLists.txt
+++ b/examples/step-26/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-27/CMakeLists.txt b/examples/step-27/CMakeLists.txt
index af4cfb440b..cebea61b04 100644
--- a/examples/step-27/CMakeLists.txt
+++ b/examples/step-27/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-28/CMakeLists.txt b/examples/step-28/CMakeLists.txt
index 2f03e66e32..e2b3e40690 100644
--- a/examples/step-28/CMakeLists.txt
+++ b/examples/step-28/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-29/CMakeLists.txt b/examples/step-29/CMakeLists.txt
index f6cbea0ea4..5dea12fbdc 100644
--- a/examples/step-29/CMakeLists.txt
+++ b/examples/step-29/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-3/CMakeLists.txt b/examples/step-3/CMakeLists.txt
index 328ae97274..14df9badf4 100644
--- a/examples/step-3/CMakeLists.txt
+++ b/examples/step-3/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-30/CMakeLists.txt b/examples/step-30/CMakeLists.txt
index 32abac163e..02bd65e2b6 100644
--- a/examples/step-30/CMakeLists.txt
+++ b/examples/step-30/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-31/CMakeLists.txt b/examples/step-31/CMakeLists.txt
index 0f128af9cf..31f7543491 100644
--- a/examples/step-31/CMakeLists.txt
+++ b/examples/step-31/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-32/CMakeLists.txt b/examples/step-32/CMakeLists.txt
index 76cc4974b0..e1c37917c6 100644
--- a/examples/step-32/CMakeLists.txt
+++ b/examples/step-32/CMakeLists.txt
@@ -24,7 +24,7 @@ SET(CLEAN_UP_FILES *.vtu *.pvtu *.visit)
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-33/CMakeLists.txt b/examples/step-33/CMakeLists.txt
index 017dbe6b79..45184c0a71 100644
--- a/examples/step-33/CMakeLists.txt
+++ b/examples/step-33/CMakeLists.txt
@@ -24,7 +24,7 @@ SET(TARGET_RUN ${TARGET} input.prm)
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-34/CMakeLists.txt b/examples/step-34/CMakeLists.txt
index edf2102dab..f9b0a96b5e 100644
--- a/examples/step-34/CMakeLists.txt
+++ b/examples/step-34/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-35/CMakeLists.txt b/examples/step-35/CMakeLists.txt
index 63427ede97..87972b56dd 100644
--- a/examples/step-35/CMakeLists.txt
+++ b/examples/step-35/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-36/CMakeLists.txt b/examples/step-36/CMakeLists.txt
index 423723f9c0..0b4da96d98 100644
--- a/examples/step-36/CMakeLists.txt
+++ b/examples/step-36/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-37/CMakeLists.txt b/examples/step-37/CMakeLists.txt
index 21d027a7ab..46c5ca3867 100644
--- a/examples/step-37/CMakeLists.txt
+++ b/examples/step-37/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-38/CMakeLists.txt b/examples/step-38/CMakeLists.txt
index a53bc48a15..b0f225dae3 100644
--- a/examples/step-38/CMakeLists.txt
+++ b/examples/step-38/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-39/CMakeLists.txt b/examples/step-39/CMakeLists.txt
index 4bf34b8b40..be2f80e96b 100644
--- a/examples/step-39/CMakeLists.txt
+++ b/examples/step-39/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-4/CMakeLists.txt b/examples/step-4/CMakeLists.txt
index 0e3a03b99b..eacf6962fe 100644
--- a/examples/step-4/CMakeLists.txt
+++ b/examples/step-4/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-40/CMakeLists.txt b/examples/step-40/CMakeLists.txt
index eb4cc76b78..d81dab1baf 100644
--- a/examples/step-40/CMakeLists.txt
+++ b/examples/step-40/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-41/CMakeLists.txt b/examples/step-41/CMakeLists.txt
index e568f888af..2c5b437ab7 100644
--- a/examples/step-41/CMakeLists.txt
+++ b/examples/step-41/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-42/CMakeLists.txt b/examples/step-42/CMakeLists.txt
index 6738332fbb..2553d87cfa 100644
--- a/examples/step-42/CMakeLists.txt
+++ b/examples/step-42/CMakeLists.txt
@@ -24,7 +24,7 @@ SET(CLEAN_UP_FILES *.vtu *.pvtu *.visit)
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-43/CMakeLists.txt b/examples/step-43/CMakeLists.txt
index 688394786b..2f04aa2e43 100644
--- a/examples/step-43/CMakeLists.txt
+++ b/examples/step-43/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-44/CMakeLists.txt b/examples/step-44/CMakeLists.txt
index 444415c67f..307d3c00eb 100644
--- a/examples/step-44/CMakeLists.txt
+++ b/examples/step-44/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-45/CMakeLists.txt b/examples/step-45/CMakeLists.txt
index 31118f9f0f..02a230d842 100644
--- a/examples/step-45/CMakeLists.txt
+++ b/examples/step-45/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-46/CMakeLists.txt b/examples/step-46/CMakeLists.txt
index 33a3709b23..c69e054b2a 100644
--- a/examples/step-46/CMakeLists.txt
+++ b/examples/step-46/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-47/CMakeLists.txt b/examples/step-47/CMakeLists.txt
index 1dddb94aab..e017157f9a 100644
--- a/examples/step-47/CMakeLists.txt
+++ b/examples/step-47/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-48/CMakeLists.txt b/examples/step-48/CMakeLists.txt
index d4fc17f2b0..22b6c01392 100644
--- a/examples/step-48/CMakeLists.txt
+++ b/examples/step-48/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-49/CMakeLists.txt b/examples/step-49/CMakeLists.txt
index 64225966a8..2cdee34961 100644
--- a/examples/step-49/CMakeLists.txt
+++ b/examples/step-49/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-5/CMakeLists.txt b/examples/step-5/CMakeLists.txt
index da7e1ba62f..804ce0d614 100644
--- a/examples/step-5/CMakeLists.txt
+++ b/examples/step-5/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-50/CMakeLists.txt b/examples/step-50/CMakeLists.txt
index b040637c78..4c29eba8c3 100644
--- a/examples/step-50/CMakeLists.txt
+++ b/examples/step-50/CMakeLists.txt
@@ -24,7 +24,7 @@ SET(CLEAN_UP_FILES *.vtu *.pvtu *.visit)
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-51/CMakeLists.txt b/examples/step-51/CMakeLists.txt
index 9ccd590fb2..61b866835e 100644
--- a/examples/step-51/CMakeLists.txt
+++ b/examples/step-51/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-52/CMakeLists.txt b/examples/step-52/CMakeLists.txt
index 056ffc62a0..efd061bac1 100644
--- a/examples/step-52/CMakeLists.txt
+++ b/examples/step-52/CMakeLists.txt
@@ -24,7 +24,7 @@ SET(CLEAN_UP_FILES *.vtu)
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-53/CMakeLists.txt b/examples/step-53/CMakeLists.txt
index b2bed159ac..7df26096f2 100644
--- a/examples/step-53/CMakeLists.txt
+++ b/examples/step-53/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-54/CMakeLists.txt b/examples/step-54/CMakeLists.txt
index b12427110d..3ff7177441 100644
--- a/examples/step-54/CMakeLists.txt
+++ b/examples/step-54/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-55/CMakeLists.txt b/examples/step-55/CMakeLists.txt
index 334168947b..5c731652a9 100644
--- a/examples/step-55/CMakeLists.txt
+++ b/examples/step-55/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-56/CMakeLists.txt b/examples/step-56/CMakeLists.txt
index 98d74975de..6ea8d21f93 100644
--- a/examples/step-56/CMakeLists.txt
+++ b/examples/step-56/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-57/CMakeLists.txt b/examples/step-57/CMakeLists.txt
index 6cbad4c194..e38e8bb995 100644
--- a/examples/step-57/CMakeLists.txt
+++ b/examples/step-57/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-58/CMakeLists.txt b/examples/step-58/CMakeLists.txt
index bdb71e27dc..6b610be76c 100644
--- a/examples/step-58/CMakeLists.txt
+++ b/examples/step-58/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-59/CMakeLists.txt b/examples/step-59/CMakeLists.txt
index 7fb0d344ee..e1743d70ed 100644
--- a/examples/step-59/CMakeLists.txt
+++ b/examples/step-59/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-6/CMakeLists.txt b/examples/step-6/CMakeLists.txt
index 7eff23b332..f08e3b1965 100644
--- a/examples/step-6/CMakeLists.txt
+++ b/examples/step-6/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-60/CMakeLists.txt b/examples/step-60/CMakeLists.txt
index 19824b2269..9ebb9754b0 100644
--- a/examples/step-60/CMakeLists.txt
+++ b/examples/step-60/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-61/CMakeLists.txt b/examples/step-61/CMakeLists.txt
index f7b4551fae..47bdff511a 100644
--- a/examples/step-61/CMakeLists.txt
+++ b/examples/step-61/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-62/CMakeLists.txt b/examples/step-62/CMakeLists.txt
index f4c4485746..fd2343256b 100644
--- a/examples/step-62/CMakeLists.txt
+++ b/examples/step-62/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-63/CMakeLists.txt b/examples/step-63/CMakeLists.txt
index 4e42556dba..bb7706cb77 100644
--- a/examples/step-63/CMakeLists.txt
+++ b/examples/step-63/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-65/CMakeLists.txt b/examples/step-65/CMakeLists.txt
index 199e93ad26..701461d5e3 100644
--- a/examples/step-65/CMakeLists.txt
+++ b/examples/step-65/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-67/CMakeLists.txt b/examples/step-67/CMakeLists.txt
index bc232fd3df..aae3e53307 100644
--- a/examples/step-67/CMakeLists.txt
+++ b/examples/step-67/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-68/CMakeLists.txt b/examples/step-68/CMakeLists.txt
index 0ba1a58f86..4d49311653 100644
--- a/examples/step-68/CMakeLists.txt
+++ b/examples/step-68/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0 QUIET
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-69/CMakeLists.txt b/examples/step-69/CMakeLists.txt
index 7a1dec585e..8e3fd0ee45 100644
--- a/examples/step-69/CMakeLists.txt
+++ b/examples/step-69/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-7/CMakeLists.txt b/examples/step-7/CMakeLists.txt
index 567dfd2d6b..1d017ef323 100644
--- a/examples/step-7/CMakeLists.txt
+++ b/examples/step-7/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-70/CMakeLists.txt b/examples/step-70/CMakeLists.txt
index db2d536c70..7ba10ac49a 100644
--- a/examples/step-70/CMakeLists.txt
+++ b/examples/step-70/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-74/CMakeLists.txt b/examples/step-74/CMakeLists.txt
index 6d166823cd..23f16f4289 100644
--- a/examples/step-74/CMakeLists.txt
+++ b/examples/step-74/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-8/CMakeLists.txt b/examples/step-8/CMakeLists.txt
index 822ea70fdc..9fcc81f83a 100644
--- a/examples/step-8/CMakeLists.txt
+++ b/examples/step-8/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/examples/step-9/CMakeLists.txt b/examples/step-9/CMakeLists.txt
index d851e3289f..6cc76eca12 100644
--- a/examples/step-9/CMakeLists.txt
+++ b/examples/step-9/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(TARGET_SRC
 
 # Usually, you will not need to modify anything beyond this point...
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 FIND_PACKAGE(deal.II 9.3.0
   HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index ed96e722e0..9d390c42d3 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -21,7 +21,7 @@
 #    prune_tests    - remove all testsuite subprojects
 #
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 
 MACRO(SET_IF_EMPTY _variable)
   IF("${${_variable}}" STREQUAL "")
diff --git a/tests/a-framework/CMakeLists.txt b/tests/a-framework/CMakeLists.txt
index ef2a36b235..c87cbebfe3 100644
--- a/tests/a-framework/CMakeLists.txt
+++ b/tests/a-framework/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 
diff --git a/tests/adolc/CMakeLists.txt b/tests/adolc/CMakeLists.txt
index e3743f4f4e..d54596f1f9 100644
--- a/tests/adolc/CMakeLists.txt
+++ b/tests/adolc/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.9)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_ADOLC)
diff --git a/tests/algorithms/CMakeLists.txt b/tests/algorithms/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/algorithms/CMakeLists.txt
+++ b/tests/algorithms/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/all-headers/CMakeLists.txt b/tests/all-headers/CMakeLists.txt
index 68cb3c1609..13aabb9946 100644
--- a/tests/all-headers/CMakeLists.txt
+++ b/tests/all-headers/CMakeLists.txt
@@ -13,7 +13,7 @@
 ##
 ## ---------------------------------------------------------------------
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 
diff --git a/tests/aniso/CMakeLists.txt b/tests/aniso/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/aniso/CMakeLists.txt
+++ b/tests/aniso/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/arpack/CMakeLists.txt b/tests/arpack/CMakeLists.txt
index 32829be5f3..af8e8bdf6c 100644
--- a/tests/arpack/CMakeLists.txt
+++ b/tests/arpack/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_ARPACK)
diff --git a/tests/base/CMakeLists.txt b/tests/base/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/base/CMakeLists.txt
+++ b/tests/base/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/bits/CMakeLists.txt b/tests/bits/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/bits/CMakeLists.txt
+++ b/tests/bits/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/boost/CMakeLists.txt b/tests/boost/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/boost/CMakeLists.txt
+++ b/tests/boost/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/codim_one/CMakeLists.txt b/tests/codim_one/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/codim_one/CMakeLists.txt
+++ b/tests/codim_one/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/cuda/CMakeLists.txt b/tests/cuda/CMakeLists.txt
index 70f15cb199..9dce93724d 100644
--- a/tests/cuda/CMakeLists.txt
+++ b/tests/cuda/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_CUDA)
diff --git a/tests/data_out/CMakeLists.txt b/tests/data_out/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/data_out/CMakeLists.txt
+++ b/tests/data_out/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/distributed_grids/CMakeLists.txt b/tests/distributed_grids/CMakeLists.txt
index 6c3cbf75ea..11cb1eb410 100644
--- a/tests/distributed_grids/CMakeLists.txt
+++ b/tests/distributed_grids/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_P4EST)
diff --git a/tests/dofs/CMakeLists.txt b/tests/dofs/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/dofs/CMakeLists.txt
+++ b/tests/dofs/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/epetraext/CMakeLists.txt b/tests/epetraext/CMakeLists.txt
index e5c0c1c03e..bebbce9e39 100644
--- a/tests/epetraext/CMakeLists.txt
+++ b/tests/epetraext/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_TRILINOS AND DEAL_II_TRILINOS_WITH_EPETRAEXT)
diff --git a/tests/examples/CMakeLists.txt b/tests/examples/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/examples/CMakeLists.txt
+++ b/tests/examples/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/fe/CMakeLists.txt b/tests/fe/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/fe/CMakeLists.txt
+++ b/tests/fe/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/feinterface/CMakeLists.txt b/tests/feinterface/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/feinterface/CMakeLists.txt
+++ b/tests/feinterface/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/full_matrix/CMakeLists.txt b/tests/full_matrix/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/full_matrix/CMakeLists.txt
+++ b/tests/full_matrix/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/fullydistributed_grids/CMakeLists.txt b/tests/fullydistributed_grids/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/fullydistributed_grids/CMakeLists.txt
+++ b/tests/fullydistributed_grids/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/ginkgo/CMakeLists.txt b/tests/ginkgo/CMakeLists.txt
index f549331a05..d166e82ea5 100644
--- a/tests/ginkgo/CMakeLists.txt
+++ b/tests/ginkgo/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_GINKGO)
diff --git a/tests/gla/CMakeLists.txt b/tests/gla/CMakeLists.txt
index d6d797b87d..a08cdb3bb3 100644
--- a/tests/gla/CMakeLists.txt
+++ b/tests/gla/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_MPI AND DEAL_II_WITH_P4EST AND DEAL_II_WITH_PETSC AND DEAL_II_WITH_TRILINOS)
diff --git a/tests/gmsh/CMakeLists.txt b/tests/gmsh/CMakeLists.txt
index 3c209477af..2d74dfa517 100644
--- a/tests/gmsh/CMakeLists.txt
+++ b/tests/gmsh/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_GMSH)
diff --git a/tests/grid/CMakeLists.txt b/tests/grid/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/grid/CMakeLists.txt
+++ b/tests/grid/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/hp/CMakeLists.txt b/tests/hp/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/hp/CMakeLists.txt
+++ b/tests/hp/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/integrators/CMakeLists.txt b/tests/integrators/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/integrators/CMakeLists.txt
+++ b/tests/integrators/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/lac/CMakeLists.txt b/tests/lac/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/lac/CMakeLists.txt
+++ b/tests/lac/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/lapack/CMakeLists.txt b/tests/lapack/CMakeLists.txt
index b0715b248d..cf3a42888f 100644
--- a/tests/lapack/CMakeLists.txt
+++ b/tests/lapack/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_LAPACK)
diff --git a/tests/manifold/CMakeLists.txt b/tests/manifold/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/manifold/CMakeLists.txt
+++ b/tests/manifold/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/mappings/CMakeLists.txt b/tests/mappings/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/mappings/CMakeLists.txt
+++ b/tests/mappings/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/matrix_free/CMakeLists.txt b/tests/matrix_free/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/matrix_free/CMakeLists.txt
+++ b/tests/matrix_free/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/meshworker/CMakeLists.txt b/tests/meshworker/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/meshworker/CMakeLists.txt
+++ b/tests/meshworker/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/metis/CMakeLists.txt b/tests/metis/CMakeLists.txt
index e974825d94..773c591868 100644
--- a/tests/metis/CMakeLists.txt
+++ b/tests/metis/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_METIS)
diff --git a/tests/mpi/CMakeLists.txt b/tests/mpi/CMakeLists.txt
index 14c3d8c847..25f95f941d 100644
--- a/tests/mpi/CMakeLists.txt
+++ b/tests/mpi/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_MPI)
diff --git a/tests/multigrid-global-coarsening/CMakeLists.txt b/tests/multigrid-global-coarsening/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/multigrid-global-coarsening/CMakeLists.txt
+++ b/tests/multigrid-global-coarsening/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/multigrid/CMakeLists.txt b/tests/multigrid/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/multigrid/CMakeLists.txt
+++ b/tests/multigrid/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/multithreading/CMakeLists.txt b/tests/multithreading/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/multithreading/CMakeLists.txt
+++ b/tests/multithreading/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/non_matching/CMakeLists.txt b/tests/non_matching/CMakeLists.txt
index f8ac3eb029..0305d274cd 100644
--- a/tests/non_matching/CMakeLists.txt
+++ b/tests/non_matching/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.9)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/numerics/CMakeLists.txt b/tests/numerics/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/numerics/CMakeLists.txt
+++ b/tests/numerics/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/opencascade/CMakeLists.txt b/tests/opencascade/CMakeLists.txt
index 711cbdacc8..a95379fabd 100644
--- a/tests/opencascade/CMakeLists.txt
+++ b/tests/opencascade/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_OPENCASCADE)
diff --git a/tests/optimization/CMakeLists.txt b/tests/optimization/CMakeLists.txt
index 3772facf43..dc2783f26c 100644
--- a/tests/optimization/CMakeLists.txt
+++ b/tests/optimization/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/parameter_handler/CMakeLists.txt b/tests/parameter_handler/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/parameter_handler/CMakeLists.txt
+++ b/tests/parameter_handler/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/particles/CMakeLists.txt b/tests/particles/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/particles/CMakeLists.txt
+++ b/tests/particles/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/petsc/CMakeLists.txt b/tests/petsc/CMakeLists.txt
index 692eeda049..c9b7cde152 100644
--- a/tests/petsc/CMakeLists.txt
+++ b/tests/petsc/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_PETSC AND NOT DEAL_II_PETSC_WITH_COMPLEX)
diff --git a/tests/petsc_complex/CMakeLists.txt b/tests/petsc_complex/CMakeLists.txt
index 01abc7b3c7..019a388305 100644
--- a/tests/petsc_complex/CMakeLists.txt
+++ b/tests/petsc_complex/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_PETSC AND DEAL_II_PETSC_WITH_COMPLEX)
diff --git a/tests/physics/CMakeLists.txt b/tests/physics/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/physics/CMakeLists.txt
+++ b/tests/physics/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/rol/CMakeLists.txt b/tests/rol/CMakeLists.txt
index 57f73cd699..19fc63cea9 100644
--- a/tests/rol/CMakeLists.txt
+++ b/tests/rol/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_TRILINOS AND DEAL_II_TRILINOS_WITH_ROL)
diff --git a/tests/run_testsuite.cmake b/tests/run_testsuite.cmake
index 1969527473..5106248c67 100644
--- a/tests/run_testsuite.cmake
+++ b/tests/run_testsuite.cmake
@@ -99,7 +99,7 @@
 # For details, consult the ./README file.
 #
 
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 MESSAGE("-- This is CTest ${CMAKE_VERSION}")
 
 #
diff --git a/tests/sacado/CMakeLists.txt b/tests/sacado/CMakeLists.txt
index 6186bb48d9..49183c12a6 100644
--- a/tests/sacado/CMakeLists.txt
+++ b/tests/sacado/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_TRILINOS AND DEAL_II_TRILINOS_WITH_SACADO)
diff --git a/tests/scalapack/CMakeLists.txt b/tests/scalapack/CMakeLists.txt
index b119a5be8f..42724e04a3 100644
--- a/tests/scalapack/CMakeLists.txt
+++ b/tests/scalapack/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_SCALAPACK)
diff --git a/tests/serialization/CMakeLists.txt b/tests/serialization/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/serialization/CMakeLists.txt
+++ b/tests/serialization/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/sharedtria/CMakeLists.txt b/tests/sharedtria/CMakeLists.txt
index d1a97684f8..039bff984a 100644
--- a/tests/sharedtria/CMakeLists.txt
+++ b/tests/sharedtria/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 INCLUDE(${DEAL_II_TARGET_CONFIG})
diff --git a/tests/simplex/CMakeLists.txt b/tests/simplex/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/simplex/CMakeLists.txt
+++ b/tests/simplex/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/slepc/CMakeLists.txt b/tests/slepc/CMakeLists.txt
index 0f564a89c5..c38da9f3f4 100644
--- a/tests/slepc/CMakeLists.txt
+++ b/tests/slepc/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_PETSC AND DEAL_II_WITH_SLEPC AND NOT DEAL_II_PETSC_WITH_COMPLEX)
diff --git a/tests/slepc_complex/CMakeLists.txt b/tests/slepc_complex/CMakeLists.txt
index 87822be977..bf955171d2 100644
--- a/tests/slepc_complex/CMakeLists.txt
+++ b/tests/slepc_complex/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_PETSC AND DEAL_II_WITH_SLEPC AND PETSC_WITH_COMPLEX)
diff --git a/tests/sparsity/CMakeLists.txt b/tests/sparsity/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/sparsity/CMakeLists.txt
+++ b/tests/sparsity/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/sundials/CMakeLists.txt b/tests/sundials/CMakeLists.txt
index c3bd0a4907..ab1e453784 100644
--- a/tests/sundials/CMakeLists.txt
+++ b/tests/sundials/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_SUNDIALS)
diff --git a/tests/symengine/CMakeLists.txt b/tests/symengine/CMakeLists.txt
index 09f74f39eb..6c7ddad8a1 100644
--- a/tests/symengine/CMakeLists.txt
+++ b/tests/symengine/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.9)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_SYMENGINE)
diff --git a/tests/tensors/CMakeLists.txt b/tests/tensors/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/tensors/CMakeLists.txt
+++ b/tests/tensors/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/trilinos/CMakeLists.txt b/tests/trilinos/CMakeLists.txt
index d2d115e821..5311b18c39 100644
--- a/tests/trilinos/CMakeLists.txt
+++ b/tests/trilinos/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_TRILINOS)
diff --git a/tests/umfpack/CMakeLists.txt b/tests/umfpack/CMakeLists.txt
index 6912165c8e..08d52ff052 100644
--- a/tests/umfpack/CMakeLists.txt
+++ b/tests/umfpack/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 IF(DEAL_II_WITH_UMFPACK)
diff --git a/tests/vector/CMakeLists.txt b/tests/vector/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/vector/CMakeLists.txt
+++ b/tests/vector/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/vector_tools/CMakeLists.txt b/tests/vector_tools/CMakeLists.txt
index d33eafa20b..0305d274cd 100644
--- a/tests/vector_tools/CMakeLists.txt
+++ b/tests/vector_tools/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)
 DEAL_II_PICKUP_TESTS()
diff --git a/tests/zoltan/CMakeLists.txt b/tests/zoltan/CMakeLists.txt
index 2d40baabc8..653b6fff4d 100644
--- a/tests/zoltan/CMakeLists.txt
+++ b/tests/zoltan/CMakeLists.txt
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
 INCLUDE(../setup_testsubproject.cmake)
 PROJECT(testsuite CXX)