diff --git a/CMakeLists.txt b/CMakeLists.txt index 50b4f72821cba665edc69aeee3fe10b7979ab17c..60e06c8b1a95f36bc4cd3102ab5c6b37c24c533f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration # === Preamble === -cmake_minimum_required(VERSION 3.16...3.26) +cmake_minimum_required(VERSION 3.16) # === Project's settings === include( ${CMAKE_CURRENT_SOURCE_DIR}/cmake/GeoModel-version.cmake ) diff --git a/FSL/CMakeLists.txt b/FSL/CMakeLists.txt index ab5f322579032dfcb47ae3f50459b8538740497f..02c10976f1f46f3de60f7ef8a885a963db4b55a9 100644 --- a/FSL/CMakeLists.txt +++ b/FSL/CMakeLists.txt @@ -1,4 +1,3 @@ -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 ffe89491c964bdba78d20b1f751b0736e431964a..706d4b1e1a80530518496ce20cd1f9c11700b586 100644 --- a/FullSimLight/CMakeLists.txt +++ b/FullSimLight/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required(VERSION 3.16...3.26) file( GLOB MANPAGES man/man1/* ) diff --git a/FullSimLight/Plugins/CMakeLists.txt b/FullSimLight/Plugins/CMakeLists.txt index 3fccb0bd3e167bd82d77bf22b9a1f7a5401eecfe..ae5b41f3bf85fdd4948044572eabf6e3d63235bb 100644 --- a/FullSimLight/Plugins/CMakeLists.txt +++ b/FullSimLight/Plugins/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -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 a7966a15aeaf58f033b4addf8073486339a65210..e79cd7ba267f9bf1beaf1b3738bfc9d954a95437 100644 --- a/FullSimLight/Plugins/Examples/EventGeneratorPlugins/FSLExamplePrimaryGeneratorPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/EventGeneratorPlugins/FSLExamplePrimaryGeneratorPlugin/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "ExamplePrimaryGeneratorPlugin" ) diff --git a/FullSimLight/Plugins/Examples/MagneticFieldPlugins/UniformMagneticFieldPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/MagneticFieldPlugins/UniformMagneticFieldPlugin/CMakeLists.txt index b341f80211ded379556b0a9077d855df35192f05..40d458c7c36c83afabc269680da2e2b1a35d2a78 100644 --- a/FullSimLight/Plugins/Examples/MagneticFieldPlugins/UniformMagneticFieldPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/MagneticFieldPlugins/UniformMagneticFieldPlugin/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "UniformMagneticFieldPlugin" ) diff --git a/FullSimLight/Plugins/Examples/PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt b/FullSimLight/Plugins/Examples/PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt index 9f3df39dc1caa81ea18cf21ef06c30c32b4ce357..d1b319b47e5dfc6fc3c32a19957fc1c86e1618a8 100644 --- a/FullSimLight/Plugins/Examples/PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/PhysicsListPlugins/FSLTestPhysListPlugins/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "TestPhysicsListPlugin" ) diff --git a/FullSimLight/Plugins/Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt index bccb8a35e22b6db3611846d506b0e36306b18413..484109178cd343cd0ba12ba70bb08d190b5e68b9 100644 --- a/FullSimLight/Plugins/Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/SensitiveDetectorPlugins/SDPlugin/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "SDPlugin" ) diff --git a/FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt b/FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt index 436fd3c3cef3d4a494b4ddf260e67489fca34319..9010d44fdaa65226b51ea11ffcc8d25c284fcb23 100644 --- a/FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/UserActionPlugins/CMakeLists.txt @@ -1,7 +1,6 @@ # (C) 2002-2022 CERN for the benefit of the ATLAS collaboration # Set up the project. -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 865f4e10bc270d38ddd46b1a18d1798e8b25ba58..ab26eb5d6c75ad1588dd3052bca08343059239fc 100644 --- a/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "DummyUserActionPlugin" ) diff --git a/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt b/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt index 0d1fcd9987d03831e61419fe920585cb567c6cbd..c2ab27c1a2b5dbaa07a52855df79cb04c8c452fd 100644 --- a/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/Examples/UserActionPlugins/DummyUserActionPlugin/DummyUserActionsPlugin/CMakeLists.txt @@ -1,6 +1,5 @@ # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration # Set up the project. -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 43ff7def3e9d840a3abeac3c3f646062f604416e..7f8bb0f9f65237231c347e66a29c0bc1b24c2cde 100644 --- a/FullSimLight/Plugins/HitsPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/HitsPlugin/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "GenerateHitsPlugin" ) diff --git a/FullSimLight/Plugins/TracksPlugin/CMakeLists.txt b/FullSimLight/Plugins/TracksPlugin/CMakeLists.txt index 0be93559ac5f92260eb58f44022eca18628d22ea..828bf9430895db3cb2d512e062ef574edb4b688f 100644 --- a/FullSimLight/Plugins/TracksPlugin/CMakeLists.txt +++ b/FullSimLight/Plugins/TracksPlugin/CMakeLists.txt @@ -1,5 +1,4 @@ # Set up the project. -cmake_minimum_required(VERSION 3.16...3.26) project( "GenerateTracksPlugin" ) diff --git a/FullSimLight/perf/CMakeLists.txt b/FullSimLight/perf/CMakeLists.txt index c4d585389b6246200fa82b0e39ded126d72604d0..1714924d964c38a6e54b768b255abaf595aefa0d 100644 --- a/FullSimLight/perf/CMakeLists.txt +++ b/FullSimLight/perf/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 3.16...3.26) project(FullSimLightPerf) diff --git a/GeoModelCore/CMakeLists.txt b/GeoModelCore/CMakeLists.txt index 4a8c37c04b7537dca113caefe5367593bb3ef83c..3bcfb3f56ad8d9184aac560671ac28ef1225cd8a 100644 --- a/GeoModelCore/CMakeLists.txt +++ b/GeoModelCore/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # Set up the (sub-)project. -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 c3071f1505718de1180a631f789be6e23784ada1..0bc13a5fdc5632d7213fe1988066b80785ca9833 100644 --- a/GeoModelExamples/CMakeLists.txt +++ b/GeoModelExamples/CMakeLists.txt @@ -6,7 +6,6 @@ ################################################################################ # Set up the project. -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 5de3ebfac598fefd57eac4f801ef055fb095f17e..393ae17c402646ad7bda0f97d789bf24c6b5bf1c 100644 --- a/GeoModelExamples/GeoActions/CMakeLists.txt +++ b/GeoModelExamples/GeoActions/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(GeoActions) diff --git a/GeoModelExamples/GeoActionsCountNodes/CMakeLists.txt b/GeoModelExamples/GeoActionsCountNodes/CMakeLists.txt index a5419c6368b85d1cdb65c7dab8aaa424145cec82..383d6ea0018e9f2c035c4565618d26f033fd62ce 100644 --- a/GeoModelExamples/GeoActionsCountNodes/CMakeLists.txt +++ b/GeoModelExamples/GeoActionsCountNodes/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Jan, 2023 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) project(GeoActionsCountingNodes) diff --git a/GeoModelExamples/GeoFullPhysVol/CMakeLists.txt b/GeoModelExamples/GeoFullPhysVol/CMakeLists.txt index cf0c9351723c83d8492623630fb3f3996bb50336..837bd635430911eb3a831c3a40b76fc083e3e437 100644 --- a/GeoModelExamples/GeoFullPhysVol/CMakeLists.txt +++ b/GeoModelExamples/GeoFullPhysVol/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Aug, 2020 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(GeoFullPhysVolEx) diff --git a/GeoModelExamples/GeoShapeExamples/CMakeLists.txt b/GeoModelExamples/GeoShapeExamples/CMakeLists.txt index 86162d7a37629388052ef2f56fe0b692dd4c5652..a8e3e1440c3dfaf669f2329739da8e01392a8c5e 100644 --- a/GeoModelExamples/GeoShapeExamples/CMakeLists.txt +++ b/GeoModelExamples/GeoShapeExamples/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(GeoShapeExamples) diff --git a/GeoModelExamples/GeoShiftUnion/CMakeLists.txt b/GeoModelExamples/GeoShiftUnion/CMakeLists.txt index d461bb5b72548e852f9f3606cee396e62b1f6e12..3d3556275f759d3289605aca661ff7b313cabaff 100644 --- a/GeoModelExamples/GeoShiftUnion/CMakeLists.txt +++ b/GeoModelExamples/GeoShiftUnion/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(GeoShiftUnion) diff --git a/GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt b/GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt index a630d513ab09eb5440ae6efe0f67b67f80f1711d..118deebfa1a3ab6c36ac53fb05864631dc8ed90c 100644 --- a/GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt +++ b/GeoModelExamples/GeoTessellatedSolidExamples/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Sep, 2019 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(GeoTessellatedSolidExample) diff --git a/GeoModelExamples/HelloDummyMaterial/CMakeLists.txt b/GeoModelExamples/HelloDummyMaterial/CMakeLists.txt index 3fd4c6bb331c65b2e37dc2c2b82e996c811c7b28..577ad715b279e35f53dc51c7360c454b1bd19ed7 100644 --- a/GeoModelExamples/HelloDummyMaterial/CMakeLists.txt +++ b/GeoModelExamples/HelloDummyMaterial/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2019 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloDummyMaterial) diff --git a/GeoModelExamples/HelloGeo/CMakeLists.txt b/GeoModelExamples/HelloGeo/CMakeLists.txt index 92702a18cc64545fc7b97388d67f5be6e6f37b9c..4f73711aa5ef8c1ec4994cefa03e0513440cfc4b 100644 --- a/GeoModelExamples/HelloGeo/CMakeLists.txt +++ b/GeoModelExamples/HelloGeo/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/HelloGeoRead/CMakeLists.txt b/GeoModelExamples/HelloGeoRead/CMakeLists.txt index 9ab5fcfb46b1bb51405f0891e24661edec1140a0..de02df3e128f593cb63cd23d76948d345695e0de 100644 --- a/GeoModelExamples/HelloGeoRead/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoRead/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(HelloGeoRead) diff --git a/GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt b/GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt index db4e5b1ec7a8a6051037de39131b80a2d8b3c4ce..4ed4a323d513f2f144cd6fe18e3b30614a0ef844 100644 --- a/GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoRead2G4/CMakeLists.txt @@ -6,7 +6,6 @@ # update: Riccardo Maria BIANCHI @ CERN - Jul, 2023 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(HelloGeoRead2G4) diff --git a/GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt b/GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt index d304a4f31316766f5b16c0f68e068dc699a1818d..d05f18aa086aef18a5d19f48d3c9befa7ba6ef33 100644 --- a/GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoReadNodeAction/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - May, 2022 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoRead) diff --git a/GeoModelExamples/HelloGeoWrite/CMakeLists.txt b/GeoModelExamples/HelloGeoWrite/CMakeLists.txt index fc12752a22b6106f84198229722abf863b2c526f..0f21a39ad89cb61a0abe7d7d17d69363e30d7c82 100644 --- a/GeoModelExamples/HelloGeoWrite/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoWrite/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(HelloGeoWrite) diff --git a/GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt b/GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt index 3e927f6cabed9c6029032b97e026f26b41c590c0..3acff84a976a49d91ac4083e00bbb046b2e04434 100644 --- a/GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoWriteReadWrite/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - May, 2022 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoWrite) diff --git a/GeoModelExamples/HelloGeoWrite_direct_noHelpers/CMakeLists.txt b/GeoModelExamples/HelloGeoWrite_direct_noHelpers/CMakeLists.txt index 23a6df786e84cfa7414ea9a46ae6898e788ac05b..b42d29a25db4e275128971d221fd7a0b4cb49708 100644 --- a/GeoModelExamples/HelloGeoWrite_direct_noHelpers/CMakeLists.txt +++ b/GeoModelExamples/HelloGeoWrite_direct_noHelpers/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoWrite) diff --git a/GeoModelExamples/HelloToy/CMakeLists.txt b/GeoModelExamples/HelloToy/CMakeLists.txt index b522ec3259284388a5368557391d82a495381ea0..f5c0fdcbb84252898619a3a81bed468aead08cdf 100644 --- a/GeoModelExamples/HelloToy/CMakeLists.txt +++ b/GeoModelExamples/HelloToy/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Aug, 2020 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloToy) diff --git a/GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt b/GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt index 48085e109d79cb77526893c7342df00a592fda84..888b22f569bd32d2f53db759483c2bdfe75ac65a 100644 --- a/GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt +++ b/GeoModelExamples/HelloToyDetectorFactory/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloToyDetectorFactory) diff --git a/GeoModelExamples/HelloToyWrite/CMakeLists.txt b/GeoModelExamples/HelloToyWrite/CMakeLists.txt index a078f162bd949db5351a3825c6888254246c398d..2ca485e8a0f17312f451bb705614281beaddc9ee 100644 --- a/GeoModelExamples/HelloToyWrite/CMakeLists.txt +++ b/GeoModelExamples/HelloToyWrite/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Aug, 2020 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(HelloToyWrite) diff --git a/GeoModelExamples/HelloToyXML/CMakeLists.txt b/GeoModelExamples/HelloToyXML/CMakeLists.txt index 53544575b873fb4ab49422154e7178b976960ead..9e1b0d9d14b89810efdfff6d8313a297ea31c2cc 100644 --- a/GeoModelExamples/HelloToyXML/CMakeLists.txt +++ b/GeoModelExamples/HelloToyXML/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Aug, 2020 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(HelloToyXML) diff --git a/GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt b/GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt index aee0bee565bddaa10f552307e132c64f1a5cb012..bb0feeb998d31265f07fe8b6e18dee643d9b331e 100644 --- a/GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt +++ b/GeoModelExamples/KitchenSinkPlugin/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/MinimalPlugin/CMakeLists.txt b/GeoModelExamples/MinimalPlugin/CMakeLists.txt index 47c628b379d066d6d9187c5c1b27387a729f6d15..9ff94da8f12a75c38881f052947c4aae822c8fd6 100644 --- a/GeoModelExamples/MinimalPlugin/CMakeLists.txt +++ b/GeoModelExamples/MinimalPlugin/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - May, 2022 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/NestedVolumes/CMakeLists.txt b/GeoModelExamples/NestedVolumes/CMakeLists.txt index 57dbe8abac9ec64e85abc9116d06442a631fcd1c..59417aa3ba014213f239ce7baec397622b74ecb4 100644 --- a/GeoModelExamples/NestedVolumes/CMakeLists.txt +++ b/GeoModelExamples/NestedVolumes/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) #project(HelloGeoWrite) diff --git a/GeoModelExamples/SharedNodes/CMakeLists.txt b/GeoModelExamples/SharedNodes/CMakeLists.txt index d23cd796c667979bb84045d1d59f9a5b113a4c00..a033fad2404f52852989545bd3dd514410cbc03a 100644 --- a/GeoModelExamples/SharedNodes/CMakeLists.txt +++ b/GeoModelExamples/SharedNodes/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - May, 2022 ################################################################################ -cmake_minimum_required(VERSION 3.1.0) project(SharedNodes) diff --git a/GeoModelExamples/SiliconSystemExample/CMakeLists.txt b/GeoModelExamples/SiliconSystemExample/CMakeLists.txt index ae8ef96ee142977944dbcf17d60d6f1c36c7566a..2462fa5c29fef2723d744b44cc08d6bdeed8be11 100644 --- a/GeoModelExamples/SiliconSystemExample/CMakeLists.txt +++ b/GeoModelExamples/SiliconSystemExample/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/SurfAlignTestPlugin/CMakeLists.txt b/GeoModelExamples/SurfAlignTestPlugin/CMakeLists.txt index 687ff0be1c9abb44435827cc5eb51106c89be67c..180715d2d9a54fe23b0f9cad54bce738eddf1639 100644 --- a/GeoModelExamples/SurfAlignTestPlugin/CMakeLists.txt +++ b/GeoModelExamples/SurfAlignTestPlugin/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/SurfAnnulusDemo/CMakeLists.txt b/GeoModelExamples/SurfAnnulusDemo/CMakeLists.txt index 87a4c98bafef0d87da7f919127d637b0539af4a4..cae90e46b539906405d7b51f789c6b280e9d5d5c 100644 --- a/GeoModelExamples/SurfAnnulusDemo/CMakeLists.txt +++ b/GeoModelExamples/SurfAnnulusDemo/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/SurfDiamond/CMakeLists.txt b/GeoModelExamples/SurfDiamond/CMakeLists.txt index 6542f748826c9a570d87be15d897d6acdf5fb5ac..a9b39babc676d7326d62504aeee9c055a8698f1c 100644 --- a/GeoModelExamples/SurfDiamond/CMakeLists.txt +++ b/GeoModelExamples/SurfDiamond/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelExamples/SurfaceTestPlugin/CMakeLists.txt b/GeoModelExamples/SurfaceTestPlugin/CMakeLists.txt index 6959a2ca542d585561da786a6e22622e01a3d3e2..dc46bfb847c0c8be3770b2da729787d4593442ba 100644 --- a/GeoModelExamples/SurfaceTestPlugin/CMakeLists.txt +++ b/GeoModelExamples/SurfaceTestPlugin/CMakeLists.txt @@ -5,7 +5,6 @@ # author: Riccardo Maria BIANCHI @ CERN - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Compile with C++17 set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/GeoModelG4/CMakeLists.txt b/GeoModelG4/CMakeLists.txt index c8f4e326e67125911781c543f7f7ee7f103d0849..a0af51906fd29004567d5e93d52cccc0c62cff5e 100644 --- a/GeoModelG4/CMakeLists.txt +++ b/GeoModelG4/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required(VERSION 3.16...3.26) #Set up the project. Check if we build it with GeoModel or individually if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) diff --git a/GeoModelG4/GeoMaterial2G4/CMakeLists.txt b/GeoModelG4/GeoMaterial2G4/CMakeLists.txt index 717e9ead384deb39c498f0ebd4ba59eb2e4178c0..65437d5f696dab8a0b2a6c13a5e22d20a313cb00 100644 --- a/GeoModelG4/GeoMaterial2G4/CMakeLists.txt +++ b/GeoModelG4/GeoMaterial2G4/CMakeLists.txt @@ -3,7 +3,6 @@ ################################################################################ # Package: GeoMaterial2G4 ################################################################################ -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 157a3cf8841aba6b9414ec9d9ebfbe4ff048cffa..0822a03b25e674062c86874ab2e826348251e9df 100644 --- a/GeoModelG4/GeoModel2G4/CMakeLists.txt +++ b/GeoModelG4/GeoModel2G4/CMakeLists.txt @@ -4,7 +4,6 @@ # Package: GeoModel2G4 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) # Declare the package name project(GeoModel2G4 VERSION ${GeoModel_VERSION} LANGUAGES CXX) diff --git a/GeoModelIO/GeoModelRead/examples/hellogeo/CMakeLists.txt.example b/GeoModelIO/GeoModelRead/examples/hellogeo/CMakeLists.txt.example index 65aaaad5408f9b625ec9f409ad618170099d4389..1d831d3c8d2f94b694bbeda45899eb61f27b705a 100644 --- a/GeoModelIO/GeoModelRead/examples/hellogeo/CMakeLists.txt.example +++ b/GeoModelIO/GeoModelRead/examples/hellogeo/CMakeLists.txt.example @@ -3,7 +3,6 @@ # author: Riccardo Maria BIANCHI <rbianchi@cern.ch> - Nov, 2018 ################################################################################ -cmake_minimum_required(VERSION 3.16...3.26) project(hellogeo) diff --git a/GeoModelTools/CMakeLists.txt b/GeoModelTools/CMakeLists.txt index 1f7861e775cd44706a8c2957b54673b7bc8cf4f8..3543c55c9bbef47983eb3b5aaa89389ea080093f 100644 --- a/GeoModelTools/CMakeLists.txt +++ b/GeoModelTools/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -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 135776857a257a2112f43b2113495b40707f246f..8ff09fcf06433a2ddbf4d436292cb59b0c17f6c3 100644 --- a/GeoModelVisualization/CMakeLists.txt +++ b/GeoModelVisualization/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # CMake settings -cmake_minimum_required(VERSION 3.16...3.26) # Dummy call to 'project()', needed to set 'PROJECT_SOURCE_DIR' project( "GeoModelTools" ) diff --git a/documentation/docs/fullsimlight/plugins/index.md b/documentation/docs/fullsimlight/plugins/index.md index 3cf7ba8e7aa011c8fb88e3bf87f5b0aad80a3b48..228d061a487f9864c1fcae389888274adefdedbb 100644 --- a/documentation/docs/fullsimlight/plugins/index.md +++ b/documentation/docs/fullsimlight/plugins/index.md @@ -85,7 +85,6 @@ Opening up the CMakeLists.txt file, we call our project GenerateHitsPlugin and c ```cmake # Set up the project. -cmake_minimum_required( VERSION 3.1 ) set(CMAKE_CXX_STANDARD 17) project( "GenerateHitsPlugin" )