]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Require CMake 3.3 or newer
authorMatthias Maier <tamiko@43-1.org>
Tue, 1 Feb 2022 16:12:31 +0000 (10:12 -0600)
committerMatthias Maier <tamiko@43-1.org>
Sat, 5 Feb 2022 20:59:37 +0000 (14:59 -0600)
CMakeLists.txt
tests/CMakeLists.txt

index e50bc50838b210ac4650b1b74965dc975406a795..c8f55aa9e51b628334e54d7e6974cfdbfda3ec3a 100644 (file)
 MESSAGE(STATUS "This is CMake ${CMAKE_VERSION}")
 MESSAGE(STATUS "")
 
-CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.3.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.
+# We support all policy changes up to version 3.3. Thus, explicitly set all
+# policies CMP0001 - CMP0054 to new for version 3.3 (and later) to avoid
+# some unnecessary warnings.
 #
-CMAKE_POLICY(VERSION 3.1.0)
+CMAKE_POLICY(VERSION 3.3.0)
 
 IF("${CMAKE_VERSION}" VERSION_LESS "3.11" AND POLICY CMP0037)
   # allow to override "test" target for quick tests
index 0127e40fcbd12a6cb5d37e62637b0969837181be..1a88e3423ad9435937cf968cc57dd9b5a653c2af 100644 (file)
@@ -21,7 +21,7 @@
 #    prune_tests    - remove all testsuite subprojects
 #
 
-CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0)
 
 MACRO(SET_IF_EMPTY _variable)
   IF("${${_variable}}" STREQUAL "")

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.