Turning on Module_IOTransformDCMTK triggers a compile time error in ITKIODCMTK. We don’t even get to issue 2872.
CMAKE_CXX_STANDARD isn’t the only thing that does not propagate properly. PNG, ZLIB, and TIFF specifications here don’t get picked up here due to missing DCMTK_USE_FIND_PACKAGE.
Originally reported on the forum.
Reproducibility
100%.
Versions
Latest Visual Studio 2022 (Version 17.14.16).
Affects main, v5.4.4, and probably multiple others.
Environment
Windows 11, CMake 4.1.1.