From: Wolfgang Bangerth Date: Mon, 18 Jul 2022 23:03:05 +0000 (-0600) Subject: Set minimum cmake version to 3.3. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F106%2Fhead;p=code-gallery.git Set minimum cmake version to 3.3. This is also the version we use for deal.II 9.4 itself. --- diff --git a/CeresFE/CMakeLists.txt b/CeresFE/CMakeLists.txt index 7a1fb94..1ca2819 100644 --- a/CeresFE/CMakeLists.txt +++ b/CeresFE/CMakeLists.txt @@ -2,7 +2,7 @@ # CMake script for the CeresFE program: ## -CMAKE_MINIMUM_REQUIRED(VERSION 3.0.2) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) FIND_PACKAGE(deal.II 9.1 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/Distributed_LDG_Method/CMakeLists.txt b/Distributed_LDG_Method/CMakeLists.txt index bad3201..c545d09 100644 --- a/Distributed_LDG_Method/CMakeLists.txt +++ b/Distributed_LDG_Method/CMakeLists.txt @@ -16,7 +16,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.8) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) FIND_PACKAGE(deal.II 9.1 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/ElastoplasticTorsion/CMakeLists.txt b/ElastoplasticTorsion/CMakeLists.txt index ed09c46..d80e9c5 100644 --- a/ElastoplasticTorsion/CMakeLists.txt +++ b/ElastoplasticTorsion/CMakeLists.txt @@ -22,7 +22,7 @@ SET(TARGET_SRC # Usually, you will not need to modify anything beyond this point... -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) FIND_PACKAGE(deal.II 9.1 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/Linear_Elastic_Active_Skeletal_Muscle_Model/CMakeLists.txt b/Linear_Elastic_Active_Skeletal_Muscle_Model/CMakeLists.txt index 0770cc3..b2d0999 100644 --- a/Linear_Elastic_Active_Skeletal_Muscle_Model/CMakeLists.txt +++ b/Linear_Elastic_Active_Skeletal_Muscle_Model/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.8) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) FIND_PACKAGE(deal.II 9.1 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/MCMC-Laplace/CMakeLists.txt b/MCMC-Laplace/CMakeLists.txt index 069e3fd..5477254 100644 --- a/MCMC-Laplace/CMakeLists.txt +++ b/MCMC-Laplace/CMakeLists.txt @@ -2,7 +2,7 @@ # CMake script for the MCMC-laplace program: ## -CMAKE_MINIMUM_REQUIRED(VERSION 3.0.2) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) FIND_PACKAGE(deal.II 9.1 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/MultipointFluxMixedFiniteElementMethods/CMakeLists.txt b/MultipointFluxMixedFiniteElementMethods/CMakeLists.txt index 055911f..9b72b05 100644 --- a/MultipointFluxMixedFiniteElementMethods/CMakeLists.txt +++ b/MultipointFluxMixedFiniteElementMethods/CMakeLists.txt @@ -22,7 +22,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.3.0) FIND_PACKAGE(deal.II 9.1 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/NavierStokes_TRBDF2_DG/CMakeLists.txt b/NavierStokes_TRBDF2_DG/CMakeLists.txt index e4085bb..25bf7dc 100644 --- a/NavierStokes_TRBDF2_DG/CMakeLists.txt +++ b/NavierStokes_TRBDF2_DG/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.3.0) FIND_PACKAGE(deal.II 9.3.0 HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/Nonlinear_PoroViscoelasticity/CMakeLists.txt b/Nonlinear_PoroViscoelasticity/CMakeLists.txt index 6c48e74..fbf021f 100644 --- a/Nonlinear_PoroViscoelasticity/CMakeLists.txt +++ b/Nonlinear_PoroViscoelasticity/CMakeLists.txt @@ -11,7 +11,7 @@ SET(TARGET_SRC ) #Search for required deal.II version -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) FIND_PACKAGE(deal.II 9.1 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/Quasi_static_Finite_strain_Compressible_Elasticity/CMakeLists.txt b/Quasi_static_Finite_strain_Compressible_Elasticity/CMakeLists.txt index 3e33e48..fa51da9 100644 --- a/Quasi_static_Finite_strain_Compressible_Elasticity/CMakeLists.txt +++ b/Quasi_static_Finite_strain_Compressible_Elasticity/CMakeLists.txt @@ -18,7 +18,7 @@ SET(CLEAN_UP_FILES # Usually, you will not need to modify anything beyond this point... -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) FIND_PACKAGE(deal.II 9.2 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/Quasi_static_Finite_strain_Quasi_incompressible_ViscoElasticity/CMakeLists.txt b/Quasi_static_Finite_strain_Quasi_incompressible_ViscoElasticity/CMakeLists.txt index 7a38132..59536b4 100644 --- a/Quasi_static_Finite_strain_Quasi_incompressible_ViscoElasticity/CMakeLists.txt +++ b/Quasi_static_Finite_strain_Quasi_incompressible_ViscoElasticity/CMakeLists.txt @@ -17,7 +17,7 @@ SET(CLEAN_UP_FILES # Usually, you will not need to modify anything beyond this point... -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) FIND_PACKAGE(deal.II 9.1 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/advection_reaction_estimator/CMakeLists.txt b/advection_reaction_estimator/CMakeLists.txt index e0bef59..c5521d2 100644 --- a/advection_reaction_estimator/CMakeLists.txt +++ b/advection_reaction_estimator/CMakeLists.txt @@ -10,7 +10,7 @@ SET(TARGET_SRC PROJECT(${TARGET} CXX) -CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) FIND_PACKAGE(deal.II 9.3.0 HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/cdr/CMakeLists.txt b/cdr/CMakeLists.txt index fa34a10..fee2d44 100644 --- a/cdr/CMakeLists.txt +++ b/cdr/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) FIND_PACKAGE(deal.II 9.1 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}) diff --git a/coupled_laplace_problem/CMakeLists.txt b/coupled_laplace_problem/CMakeLists.txt index ec2dc24..ff5a0c8 100644 --- a/coupled_laplace_problem/CMakeLists.txt +++ b/coupled_laplace_problem/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.3.0) FIND_PACKAGE(deal.II 9.2.0 HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/goal_oriented_elastoplasticity/CMakeLists.txt b/goal_oriented_elastoplasticity/CMakeLists.txt index 338f8e4..f06be0b 100644 --- a/goal_oriented_elastoplasticity/CMakeLists.txt +++ b/goal_oriented_elastoplasticity/CMakeLists.txt @@ -16,7 +16,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.8) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) FIND_PACKAGE(deal.II 9.1 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/parallel_in_time/CMakeLists.txt b/parallel_in_time/CMakeLists.txt index 8cfee53..8b00948 100644 --- a/parallel_in_time/CMakeLists.txt +++ b/parallel_in_time/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) # Set the name of the project and target: SET(TARGET "parallel_in_time") diff --git a/time_dependent_navier_stokes/CMakeLists.txt b/time_dependent_navier_stokes/CMakeLists.txt index f2c959a..e1505cc 100644 --- a/time_dependent_navier_stokes/CMakeLists.txt +++ b/time_dependent_navier_stokes/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.3.0) FIND_PACKAGE(deal.II 9.1 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} diff --git a/two_phase_flow/CMakeLists.txt b/two_phase_flow/CMakeLists.txt index 33ad8aa..07d1833 100644 --- a/two_phase_flow/CMakeLists.txt +++ b/two_phase_flow/CMakeLists.txt @@ -26,7 +26,7 @@ SET(TARGET_SRC # Usually, you will not need to modify anything beyond this point... -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) +CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0) FIND_PACKAGE(deal.II 9.1 QUIET HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}