From d68014af680d7c0b702222c248b3bd306e679a22 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Mon, 5 Dec 2022 15:17:53 -0500 Subject: [PATCH] COMP: Address ITK Windows warnings Bumps to HEAD of current ITK `release` branch to incorporate: - https://github.com/InsightSoftwareConsortium/ITK/commit/0892cd1e3f314efb2a1d92490352b891b88100eb - https://github.com/InsightSoftwareConsortium/ITK/commit/0cd5391417317ea785f5a2b3da638bd1669113a3 to address CI warnings. We also need to enable ITK_LEGACY_REMOVE in the Superbuild. --- .github/workflows/build-test-publish.yml | 2 +- Superbuild/External-ITK.cmake | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index 0fc8e3394..27b2106fd 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -3,7 +3,7 @@ name: Build, test, publish on: [push,pull_request] env: - itk-git-tag: "v5.3.0" + itk-git-tag: "37c107436f163436d9f9caf015b6f642eacdf651" jobs: build-test-cxx: diff --git a/Superbuild/External-ITK.cmake b/Superbuild/External-ITK.cmake index a16af0370..362f19614 100644 --- a/Superbuild/External-ITK.cmake +++ b/Superbuild/External-ITK.cmake @@ -2,7 +2,8 @@ # Get and build itk if(NOT ITK_TAG) - set(ITK_TAG "v5.3.0") + # ITK release 2022-12-05 + set(ITK_TAG "37c107436f163436d9f9caf015b6f642eacdf651") endif() set(_vtk_args) @@ -58,6 +59,7 @@ ExternalProject_Add(ITK -DBUILD_TESTING:BOOL=OFF -DITK_BUILD_DEFAULT_MODULES:BOOL=ON -DModule_ITKReview:BOOL=ON + -DITK_LEGACY_REMOVE:BOOL=ON -DITK_LEGACY_SILENT:BOOL=ON -DExternalData_OBJECT_STORES:STRING=${ExternalData_OBJECT_STORES} ${_vtk_args}