Avoids configure errors with the latest ITK and CMake 3.29.3:
6>CMake Warning (dev) at M:/a/Srd/ITK-build/ITKConfig.cmake:90 (if):
6> Policy CMP0057 is not set: Support new IN_LIST if() operator. Run "cmake
6> --help-policy CMP0057" for policy details. Use the cmake_policy command to
6> set the policy and suppress this warning.
6>
6> IN_LIST will be interpreted as an operator when the policy is set to NEW.
6> Since the policy is not set the OLD behavior will be used.
6>Call Stack (most recent call first):
6> Libs/ImageProcessing/ITK/Core/CMakeLists.txt:16 (find_package)
6>This warning is for project developers. Use -Wno-dev to suppress it.
6>
6>CMake Error at M:/a/Srd/ITK-build/ITKConfig.cmake:90 (if):
6> if given arguments:
6>
6> "ITK_FIND_REQUIRED_ITKCommon" "OR" "M" "IN_LIST" "ITK_MODULES_ENABLED"
6>
6> Unknown arguments specified
6>Call Stack (most recent call first):
6> Libs/ImageProcessing/ITK/Core/CMakeLists.txt:16 (find_package)
6>
6>
6>-- Configuring incomplete, errors occurred!
Avoids configure errors with the latest ITK and CMake 3.29.3: