From f992753fc161d0a919d53e25cd01864308dbd237 Mon Sep 17 00:00:00 2001 From: Niels Dekker Date: Wed, 7 Apr 2021 15:36:54 +0200 Subject: [PATCH] COMP: Update ITK to v5.2.0 ITK fixed a critical build error when compiling OpenJPEG as reported here, by spacelg: "ITK failed to build due to error C2169: 'lrintf': intrinsic function, cannot be defined with MSVC on windows" issue https://github.com/InsightSoftwareConsortium/ITK/issues/1967 Update ITK to version 5.2.0 (whose release is about to be announced), which includes this fix. Following pull request https://github.com/SuperElastix/SimpleElastix/pull/425 by David Young (yoda-vid) --- CMakeLists.txt | 2 +- Testing/CI/Azure/ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 47dd501b2..7619daf63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ if(ELASTIX_USE_OPENCL) endif() # Find ITK. -find_package( ITK 5.1.1 REQUIRED COMPONENTS +find_package( ITK 5.2.0 REQUIRED COMPONENTS ITKCommon ITKDisplacementField ITKDistanceMap diff --git a/Testing/CI/Azure/ci.yml b/Testing/CI/Azure/ci.yml index bb1c8b0c6..1c31f41fb 100644 --- a/Testing/CI/Azure/ci.yml +++ b/Testing/CI/Azure/ci.yml @@ -1,5 +1,5 @@ variables: - ITKv5_VERSION: v5.1.1 + ITKv5_VERSION: v5.2.0 ITK_GIT_URL: https://github.com/InsightSoftwareConsortium/ITK ITK_SOURCE_DIR: $(Agent.BuildDirectory)/ITK-source ITK_BINARY_DIR: $(Agent.BuildDirectory)/ITK-build