From aab9864c46d85d107fb37ff532804ce3ba1dccb3 Mon Sep 17 00:00:00 2001 From: = Date: Wed, 8 Feb 2023 09:31:28 +0100 Subject: [PATCH] [CMake] minimum version at 3.19 --master --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- src/app/medPluginGenerator/template/cmake | 2 +- src/app/medPluginGenerator/template/filtering/cmake | 2 +- src/app/medPluginGenerator/template/registration/cmake | 2 +- src/plugins/legacy/itkINRDataImageReader/CMakeLists.txt | 2 +- src/plugins/legacy/itkINRDataImageWriter/CMakeLists.txt | 2 +- src/plugins/legacy/medCompositeDataSets/CMakeLists.txt | 2 +- src/plugins/legacy/undoRedoRegistration/CMakeLists.txt | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b17d6c4ad..2b87a26ee8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ # ################################################################################ -cmake_minimum_required(VERSION 3.3) +cmake_minimum_required(VERSION 3.19) if(POLICY CMP0020) cmake_policy(SET CMP0020 NEW) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7a1a418849..ed96b2cbd8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -13,7 +13,7 @@ # ################################################################################ -cmake_minimum_required(VERSION 3.3) +cmake_minimum_required(VERSION 3.19) if(NOT DEFINED ${medInria_VERSION}) set(medInria_VERSION 4.0.0) diff --git a/src/app/medPluginGenerator/template/cmake b/src/app/medPluginGenerator/template/cmake index 994a5c9b1b..6e28dfa702 100644 --- a/src/app/medPluginGenerator/template/cmake +++ b/src/app/medPluginGenerator/template/cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.9) +cmake_minimum_required(VERSION ${CMAKE_MINIMUM_REQUIRED_VERSION}) project(%1Plugin) diff --git a/src/app/medPluginGenerator/template/filtering/cmake b/src/app/medPluginGenerator/template/filtering/cmake index c4348ba37f..942bd4da2b 100644 --- a/src/app/medPluginGenerator/template/filtering/cmake +++ b/src/app/medPluginGenerator/template/filtering/cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.9) +cmake_minimum_required(VERSION ${CMAKE_MINIMUM_REQUIRED_VERSION}) project(%1Plugin) diff --git a/src/app/medPluginGenerator/template/registration/cmake b/src/app/medPluginGenerator/template/registration/cmake index b53684ccad..14a437e361 100644 --- a/src/app/medPluginGenerator/template/registration/cmake +++ b/src/app/medPluginGenerator/template/registration/cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.9) +cmake_minimum_required(VERSION ${CMAKE_MINIMUM_REQUIRED_VERSION}) project(%1Plugin) diff --git a/src/plugins/legacy/itkINRDataImageReader/CMakeLists.txt b/src/plugins/legacy/itkINRDataImageReader/CMakeLists.txt index 646a84f3e7..0af43bcacd 100644 --- a/src/plugins/legacy/itkINRDataImageReader/CMakeLists.txt +++ b/src/plugins/legacy/itkINRDataImageReader/CMakeLists.txt @@ -13,7 +13,7 @@ # ################################################################################ -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION ${CMAKE_MINIMUM_REQUIRED_VERSION}) set(TARGET_NAME itkINRDataImageReaderPlugin) diff --git a/src/plugins/legacy/itkINRDataImageWriter/CMakeLists.txt b/src/plugins/legacy/itkINRDataImageWriter/CMakeLists.txt index 01b1fc9a24..0f0f797e65 100644 --- a/src/plugins/legacy/itkINRDataImageWriter/CMakeLists.txt +++ b/src/plugins/legacy/itkINRDataImageWriter/CMakeLists.txt @@ -13,7 +13,7 @@ # ################################################################################ -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION ${CMAKE_MINIMUM_REQUIRED_VERSION}) set(TARGET_NAME itkINRDataImageWriterPlugin) diff --git a/src/plugins/legacy/medCompositeDataSets/CMakeLists.txt b/src/plugins/legacy/medCompositeDataSets/CMakeLists.txt index 636211f3be..cb296e7b13 100644 --- a/src/plugins/legacy/medCompositeDataSets/CMakeLists.txt +++ b/src/plugins/legacy/medCompositeDataSets/CMakeLists.txt @@ -11,7 +11,7 @@ # ################################################################################ -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION ${CMAKE_MINIMUM_REQUIRED_VERSION}) project(medCompositeDataSetsPlugin) diff --git a/src/plugins/legacy/undoRedoRegistration/CMakeLists.txt b/src/plugins/legacy/undoRedoRegistration/CMakeLists.txt index 4b9a865d5e..a885181ff2 100644 --- a/src/plugins/legacy/undoRedoRegistration/CMakeLists.txt +++ b/src/plugins/legacy/undoRedoRegistration/CMakeLists.txt @@ -13,7 +13,7 @@ # ################################################################################ -cmake_minimum_required(VERSION 3.15) +cmake_minimum_required(VERSION ${CMAKE_MINIMUM_REQUIRED_VERSION}) set(TARGET_NAME undoRedoRegistrationPlugin)