diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 45a8f2e0f..951f92a70 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -4,7 +4,7 @@ if(itk-module) return() endif() endif() -find_package(ITK 5.2.0 REQUIRED) +find_package(ITK 6 REQUIRED) # To avoid linker issues. # Module_ITKVtkGlue is true when building inside ITK diff --git a/src/Core/Common/FilterAndParallelizeImageRegion/CMakeLists.txt b/src/Core/Common/FilterAndParallelizeImageRegion/CMakeLists.txt index 9eb6f8b0d..2d32a6e82 100644 --- a/src/Core/Common/FilterAndParallelizeImageRegion/CMakeLists.txt +++ b/src/Core/Common/FilterAndParallelizeImageRegion/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.22.1) project(FilterAndParallelizeImageRegion) -find_package(ITK 5.0 REQUIRED) +find_package(ITK 6 REQUIRED) add_executable(${PROJECT_NAME} Code.cxx) target_link_libraries( diff --git a/src/Core/Common/UseParallelizeImageRegion/CMakeLists.txt b/src/Core/Common/UseParallelizeImageRegion/CMakeLists.txt index 41aef7259..aed8c5751 100644 --- a/src/Core/Common/UseParallelizeImageRegion/CMakeLists.txt +++ b/src/Core/Common/UseParallelizeImageRegion/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.22.1) project(UseParallelizeImageRegion) -find_package(ITK 5.0 REQUIRED) +find_package(ITK 6 REQUIRED) add_executable(${PROJECT_NAME} Code.cxx) target_link_libraries( diff --git a/src/Filtering/ImageGradient/ApplyGradientRecursiveGaussian/CMakeLists.txt b/src/Filtering/ImageGradient/ApplyGradientRecursiveGaussian/CMakeLists.txt index b4388916c..8b025ef53 100644 --- a/src/Filtering/ImageGradient/ApplyGradientRecursiveGaussian/CMakeLists.txt +++ b/src/Filtering/ImageGradient/ApplyGradientRecursiveGaussian/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.22.1) project(ApplyGradientRecursiveGaussian) -find_package(ITK 4.7.0 REQUIRED) +find_package(ITK 6 REQUIRED) add_executable(${PROJECT_NAME} Code.cxx) target_link_libraries(