Skip to content

Turning on Module_IOTransformDCMTK triggers a compile time error in ITKIODCMTK #5539

@dzenanz

Description

@dzenanz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:CompilerCompiler support or related warnings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions