From f304c3c8d7cf990d68292ba60f954948922938b3 Mon Sep 17 00:00:00 2001 From: Ben Morgan <ben.morgan@warwick.ac.uk> Date: Fri, 21 Apr 2023 14:36:27 +0100 Subject: [PATCH] Bump minimum CMake for core packages to 3.16 --- CMakeLists.txt | 2 +- FSL/CMakeLists.txt | 2 +- FullSimLight/CMakeLists.txt | 2 +- FullSimLight/Plugins/CMakeLists.txt | 2 +- .../FSLExamplePrimaryGeneratorPlugin/CMakeLists.txt | 2 +- .../UniformMagneticFieldPlugin/CMakeLists.txt | 2 +- .../PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt | 2 +- .../Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt | 2 +- FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt | 2 +- .../UserActionPlugins/DummyUserActionPlugin/CMakeLists.txt | 2 +- .../DummyUserActionsPlugin/CMakeLists.txt | 2 +- FullSimLight/Plugins/HitsPlugin/CMakeLists.txt | 2 +- FullSimLight/Plugins/TracksPlugin/CMakeLists.txt | 2 +- FullSimLight/perf/CMakeLists.txt | 3 +-- GeoModelCore/CMakeLists.txt | 2 +- GeoModelExamples/CMakeLists.txt | 2 +- GeoModelExamples/GeoActions/CMakeLists.txt | 2 +- GeoModelExamples/GeoFullPhysVol/CMakeLists.txt | 2 +- GeoModelExamples/GeoShapeExamples/CMakeLists.txt | 2 +- GeoModelExamples/GeoShiftUnion/CMakeLists.txt | 2 +- GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt | 2 +- GeoModelExamples/HelloDummyMaterial/CMakeLists.txt | 2 +- GeoModelExamples/HelloGeo/CMakeLists.txt | 2 +- GeoModelExamples/HelloGeoRead/CMakeLists.txt | 2 +- GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt | 2 +- GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt | 2 +- GeoModelExamples/HelloGeoWrite/CMakeLists.txt | 2 +- GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt | 2 +- GeoModelExamples/HelloToy/CMakeLists.txt | 2 +- GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt | 2 +- GeoModelExamples/HelloToyXML/CMakeLists.txt | 2 +- GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt | 2 +- GeoModelExamples/MinimalPlugin/CMakeLists.txt | 2 +- GeoModelExamples/NestedVolumes/CMakeLists.txt | 2 +- GeoModelG4/CMakeLists.txt | 2 +- GeoModelG4/GeoMaterial2G4/CMakeLists.txt | 2 +- GeoModelG4/GeoModel2G4/CMakeLists.txt | 2 +- GeoModelG4/GeoModel2G4/original_GeoModel2G4/CMakeLists.txt | 2 +- .../GeoModelRead/examples/hellogeo/CMakeLists.txt.example | 2 +- GeoModelTools/CMakeLists.txt | 2 +- GeoModelVisualization/CMakeLists.txt | 2 +- 41 files changed, 41 insertions(+), 42 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e520e3f1..976d74fcf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # === Preamble === -cmake_minimum_required(VERSION 3.12...3.19.1) +cmake_minimum_required(VERSION 3.16...3.26) # Make the 'cmake' module directory visible to CMake. list( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ) diff --git a/FSL/CMakeLists.txt b/FSL/CMakeLists.txt index 8ab1479ff..0d17544ef 100644 --- a/FSL/CMakeLists.txt +++ b/FSL/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.16...3.26) project(fsl VERSION 0.1 LANGUAGES CXX) diff --git a/FullSimLight/CMakeLists.txt b/FullSimLight/CMakeLists.txt index 7742d0a72..efe7f7744 100644 --- a/FullSimLight/CMakeLists.txt +++ b/FullSimLight/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required( VERSION 3.14 ) +cmake_minimum_required(VERSION 3.16...3.26) # Dummy call to 'project()', needed to set 'PROJECT_SOURCE_DIR' project( "FullSimLight" ) diff --git a/FullSimLight/Plugins/CMakeLists.txt b/FullSimLight/Plugins/CMakeLists.txt index 0e31deec6..87a40ac55 100644 --- a/FullSimLight/Plugins/CMakeLists.txt +++ b/FullSimLight/Plugins/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required( VERSION 3.14 ) +cmake_minimum_required(VERSION 3.16...3.26) # Dummy call to 'project()', needed to set 'PROJECT_SOURCE_DIR' project( "Plugins" ) diff --git a/FullSimLight/Plugins/Examples/EventGeneratorPlugins/FSLExamplePrimaryGeneratorPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/EventGeneratorPlugins/FSLExamplePrimaryGeneratorPlugin/CMakeLists.txt index d7eb29db2..693187bbc 100644 --- a/FullSimLight/Plugins/Examples/EventGeneratorPlugins/FSLExamplePrimaryGeneratorPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/EventGeneratorPlugins/FSLExamplePrimaryGeneratorPlugin/CMakeLists.txt @@ -1,5 +1,5 @@ # Set up the project. -cmake_minimum_required( VERSION 3.1 ) +cmake_minimum_required(VERSION 3.16...3.26) set(CMAKE_CXX_STANDARD 17) diff --git a/FullSimLight/Plugins/Examples/MagneticFieldPlugins/UniformMagneticFieldPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/MagneticFieldPlugins/UniformMagneticFieldPlugin/CMakeLists.txt index dcd0dfeb7..7d5ea4dd7 100644 --- a/FullSimLight/Plugins/Examples/MagneticFieldPlugins/UniformMagneticFieldPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/MagneticFieldPlugins/UniformMagneticFieldPlugin/CMakeLists.txt @@ -1,5 +1,5 @@ # Set up the project. -cmake_minimum_required( VERSION 3.1 ) +cmake_minimum_required(VERSION 3.16...3.26) set(CMAKE_CXX_STANDARD 17) diff --git a/FullSimLight/Plugins/Examples/PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt b/FullSimLight/Plugins/Examples/PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt index c37cd349c..ca7320457 100644 --- a/FullSimLight/Plugins/Examples/PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt @@ -1,5 +1,5 @@ # Set up the project. -cmake_minimum_required( VERSION 3.1 ) +cmake_minimum_required(VERSION 3.16...3.26) set(CMAKE_CXX_STANDARD 17) diff --git a/FullSimLight/Plugins/Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt index 819b2d8fe..04c5f26c8 100644 --- a/FullSimLight/Plugins/Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt @@ -1,5 +1,5 @@ # Set up the project. -cmake_minimum_required( VERSION 3.1 ) +cmake_minimum_required(VERSION 3.16...3.26) set(CMAKE_CXX_STANDARD 17) diff --git a/FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt b/FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt index 73e5e7287..436fd3c3c 100644 --- a/FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt @@ -1,7 +1,7 @@ # (C) 2002-2022 CERN for the benefit of the ATLAS collaboration # Set up the project. -cmake_minimum_required( VERSION 3.1 ) +cmake_minimum_required(VERSION 3.16...3.26) project( "UserActionsPlugins" ) #Set up the project. Check if we build it with GeoModel or individually diff --git a/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/CMakeLists.txt index 2cf5e92a8..4452ef6bb 100644 --- a/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/CMakeLists.txt @@ -1,5 +1,5 @@ # Set up the project. -cmake_minimum_required( VERSION 3.1 ) +cmake_minimum_required(VERSION 3.16...3.26) set(CMAKE_CXX_STANDARD 17) diff --git a/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt index 71a9be12c..e34aaa7b1 100644 --- a/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration # Set up the project. -cmake_minimum_required( VERSION 3.1 ) +cmake_minimum_required(VERSION 3.16...3.26) project( "DummyUserActionsPlugin" ) diff --git a/FullSimLight/Plugins/HitsPlugin/CMakeLists.txt b/FullSimLight/Plugins/HitsPlugin/CMakeLists.txt index e9fb430c2..82a3a31a0 100644 --- a/FullSimLight/Plugins/HitsPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/HitsPlugin/CMakeLists.txt @@ -1,5 +1,5 @@ # Set up the project. -cmake_minimum_required( VERSION 3.1 ) +cmake_minimum_required(VERSION 3.16...3.26) set(CMAKE_CXX_STANDARD 17) diff --git a/FullSimLight/Plugins/TracksPlugin/CMakeLists.txt b/FullSimLight/Plugins/TracksPlugin/CMakeLists.txt index 21a411fbe..95886d160 100644 --- a/FullSimLight/Plugins/TracksPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/TracksPlugin/CMakeLists.txt @@ -1,5 +1,5 @@ # Set up the project. -cmake_minimum_required( VERSION 3.1 ) +cmake_minimum_required(VERSION 3.16...3.26) set(CMAKE_CXX_STANDARD 17) diff --git a/FullSimLight/perf/CMakeLists.txt b/FullSimLight/perf/CMakeLists.txt index 821540604..c4d585389 100644 --- a/FullSimLight/perf/CMakeLists.txt +++ b/FullSimLight/perf/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required(VERSION 3.12 FATAL_ERROR) -cmake_policy(VERSION 3.12...3.18) +cmake_minimum_required(VERSION 3.16...3.26) project(FullSimLightPerf) diff --git a/GeoModelCore/CMakeLists.txt b/GeoModelCore/CMakeLists.txt index 53c5de784..d96b29665 100644 --- a/GeoModelCore/CMakeLists.txt +++ b/GeoModelCore/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Set up the (sub-)project. -cmake_minimum_required( VERSION 3.1 ) +cmake_minimum_required(VERSION 3.16...3.26) #project( "GeoModelCore" VERSION 4.1.0 LANGUAGES CXX ) project( "GeoModelCore" VERSION ${GeoModel_VERSION} LANGUAGES CXX ) diff --git a/GeoModelExamples/CMakeLists.txt b/GeoModelExamples/CMakeLists.txt index 4f322aa26..2ac1024bc 100644 --- a/GeoModelExamples/CMakeLists.txt +++ b/GeoModelExamples/CMakeLists.txt @@ -6,7 +6,7 @@ ################################################################################ # Set up the project. -cmake_minimum_required( VERSION 3.1 ) +cmake_minimum_required(VERSION 3.16...3.26) project( "GeoModelExamples" VERSION 4.1.0 LANGUAGES CXX ) # Getting-started examples diff --git a/GeoModelExamples/GeoActions/CMakeLists.txt b/GeoModelExamples/GeoActions/CMakeLists.txt index 7f0efb279..025c7c37b 100644 --- a/GeoModelExamples/GeoActions/CMakeLists.txt +++ b/GeoModelExamples/GeoActions/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(GeoActions) diff --git a/GeoModelExamples/GeoFullPhysVol/CMakeLists.txt b/GeoModelExamples/GeoFullPhysVol/CMakeLists.txt index 0dafa939e..8168ff095 100644 --- a/GeoModelExamples/GeoFullPhysVol/CMakeLists.txt +++ b/GeoModelExamples/GeoFullPhysVol/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Aug, 2020 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(GeoFullPhysVolEx) diff --git a/GeoModelExamples/GeoShapeExamples/CMakeLists.txt b/GeoModelExamples/GeoShapeExamples/CMakeLists.txt index 5fc886f48..19bfd486d 100644 --- a/GeoModelExamples/GeoShapeExamples/CMakeLists.txt +++ b/GeoModelExamples/GeoShapeExamples/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(GeoShapeExamples) diff --git a/GeoModelExamples/GeoShiftUnion/CMakeLists.txt b/GeoModelExamples/GeoShiftUnion/CMakeLists.txt index 4d16de5fa..71522fd44 100644 --- a/GeoModelExamples/GeoShiftUnion/CMakeLists.txt +++ b/GeoModelExamples/GeoShiftUnion/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(GeoShiftUnion) diff --git a/GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt b/GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt index 82c2df633..c5be2e210 100644 --- a/GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt +++ b/GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Sep, 2019 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(GeoTessellatedSolidExample) diff --git a/GeoModelExamples/HelloDummyMaterial/CMakeLists.txt b/GeoModelExamples/HelloDummyMaterial/CMakeLists.txt index 69c45abbf..ac6c72e7c 100644 --- a/GeoModelExamples/HelloDummyMaterial/CMakeLists.txt +++ b/GeoModelExamples/HelloDummyMaterial/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2019 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(HelloDummyMaterial) diff --git a/GeoModelExamples/HelloGeo/CMakeLists.txt b/GeoModelExamples/HelloGeo/CMakeLists.txt index a7964d597..ecb52b756 100644 --- a/GeoModelExamples/HelloGeo/CMakeLists.txt +++ b/GeoModelExamples/HelloGeo/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD 17) diff --git a/GeoModelExamples/HelloGeoRead/CMakeLists.txt b/GeoModelExamples/HelloGeoRead/CMakeLists.txt index 59f098de3..62b805c8b 100644 --- a/GeoModelExamples/HelloGeoRead/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoRead/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoRead) diff --git a/GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt b/GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt index be563d9b3..76b8e265a 100644 --- a/GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoRead2G4) diff --git a/GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt b/GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt index 68ce5cafc..3b64ca9ad 100644 --- a/GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - May, 2022 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoRead) diff --git a/GeoModelExamples/HelloGeoWrite/CMakeLists.txt b/GeoModelExamples/HelloGeoWrite/CMakeLists.txt index 498d3b3f2..9efb1aea4 100644 --- a/GeoModelExamples/HelloGeoWrite/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoWrite/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoWrite) diff --git a/GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt b/GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt index c10f7fc3e..b89dcacde 100644 --- a/GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - May, 2022 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoWrite) diff --git a/GeoModelExamples/HelloToy/CMakeLists.txt b/GeoModelExamples/HelloToy/CMakeLists.txt index aff08b467..0d66f644f 100644 --- a/GeoModelExamples/HelloToy/CMakeLists.txt +++ b/GeoModelExamples/HelloToy/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Aug, 2020 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(HelloToy) diff --git a/GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt b/GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt index 2d4aa975f..1abe80eda 100644 --- a/GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt +++ b/GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(HelloToyDetectorFactory) diff --git a/GeoModelExamples/HelloToyXML/CMakeLists.txt b/GeoModelExamples/HelloToyXML/CMakeLists.txt index 2bad58897..d05f91248 100644 --- a/GeoModelExamples/HelloToyXML/CMakeLists.txt +++ b/GeoModelExamples/HelloToyXML/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Aug, 2020 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) project(HelloToyXML) diff --git a/GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt b/GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt index b7f302a25..03fe58070 100644 --- a/GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt +++ b/GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD 17) diff --git a/GeoModelExamples/MinimalPlugin/CMakeLists.txt b/GeoModelExamples/MinimalPlugin/CMakeLists.txt index 3b35d67b5..f18dbe0f1 100644 --- a/GeoModelExamples/MinimalPlugin/CMakeLists.txt +++ b/GeoModelExamples/MinimalPlugin/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - May, 2022 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD 17) diff --git a/GeoModelExamples/NestedVolumes/CMakeLists.txt b/GeoModelExamples/NestedVolumes/CMakeLists.txt index b419eeb25..2d4b334eb 100644 --- a/GeoModelExamples/NestedVolumes/CMakeLists.txt +++ b/GeoModelExamples/NestedVolumes/CMakeLists.txt @@ -5,7 +5,7 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoWrite) diff --git a/GeoModelG4/CMakeLists.txt b/GeoModelG4/CMakeLists.txt index 128f647f3..2b6c15f3f 100644 --- a/GeoModelG4/CMakeLists.txt +++ b/GeoModelG4/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required( VERSION 3.14 ) +cmake_minimum_required(VERSION 3.16...3.26) # Dummy call to 'project()', needed to set 'PROJECT_SOURCE_DIR' project( "GeoModelG4" ) diff --git a/GeoModelG4/GeoMaterial2G4/CMakeLists.txt b/GeoModelG4/GeoMaterial2G4/CMakeLists.txt index 9cf118c6b..024665666 100644 --- a/GeoModelG4/GeoMaterial2G4/CMakeLists.txt +++ b/GeoModelG4/GeoMaterial2G4/CMakeLists.txt @@ -3,7 +3,7 @@ ################################################################################ # Package: GeoMaterial2G4 ################################################################################ -cmake_minimum_required(VERSION 3.10) +cmake_minimum_required(VERSION 3.16...3.26) project( "GeoMaterial2G4" VERSION ${GeoModel_VERSION} LANGUAGES CXX ) # Use the GNU install directory names. diff --git a/GeoModelG4/GeoModel2G4/CMakeLists.txt b/GeoModelG4/GeoModel2G4/CMakeLists.txt index df227e6de..fff813ad4 100644 --- a/GeoModelG4/GeoModel2G4/CMakeLists.txt +++ b/GeoModelG4/GeoModel2G4/CMakeLists.txt @@ -4,7 +4,7 @@ # Package: GeoModel2G4 ################################################################################ -cmake_minimum_required(VERSION 3.10) +cmake_minimum_required(VERSION 3.16...3.26) # Declare the package name project( "GeoModel2G4" VERSION ${GeoModel_VERSION} LANGUAGES CXX ) diff --git a/GeoModelG4/GeoModel2G4/original_GeoModel2G4/CMakeLists.txt b/GeoModelG4/GeoModel2G4/original_GeoModel2G4/CMakeLists.txt index 293f17da2..55c9883f6 100644 --- a/GeoModelG4/GeoModel2G4/original_GeoModel2G4/CMakeLists.txt +++ b/GeoModelG4/GeoModel2G4/original_GeoModel2G4/CMakeLists.txt @@ -2,7 +2,7 @@ # Package: Geo2G4 ################################################################################ -cmake_minimum_required(VERSION 3.10) +cmake_minimum_required(VERSION 3.16...3.26) # Declare the package name project( "Geo2G4" VERSION 1.0.0 LANGUAGES CXX ) diff --git a/GeoModelIO/GeoModelRead/examples/hellogeo/CMakeLists.txt.example b/GeoModelIO/GeoModelRead/examples/hellogeo/CMakeLists.txt.example index 591b24abc..65aaaad54 100644 --- a/GeoModelIO/GeoModelRead/examples/hellogeo/CMakeLists.txt.example +++ b/GeoModelIO/GeoModelRead/examples/hellogeo/CMakeLists.txt.example @@ -3,7 +3,7 @@ # author: Riccardo Maria BIANCHI <rbianchi@cern.ch> - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) +cmake_minimum_required(VERSION 3.16...3.26) project(hellogeo) diff --git a/GeoModelTools/CMakeLists.txt b/GeoModelTools/CMakeLists.txt index 738f05fcc..7e8ccdcd0 100644 --- a/GeoModelTools/CMakeLists.txt +++ b/GeoModelTools/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required( VERSION 3.14 ) +cmake_minimum_required(VERSION 3.16...3.26) # Dummy call to 'project()', needed to set 'PROJECT_SOURCE_DIR' project( "GeoModelTools" ) diff --git a/GeoModelVisualization/CMakeLists.txt b/GeoModelVisualization/CMakeLists.txt index 054444a47..647a12c2b 100644 --- a/GeoModelVisualization/CMakeLists.txt +++ b/GeoModelVisualization/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required( VERSION 3.14 ) +cmake_minimum_required(VERSION 3.16...3.26) # Dummy call to 'project()', needed to set 'PROJECT_SOURCE_DIR' project( "GeoModelTools" ) -- GitLab