Skip to content

Raise cmake_minimum_required in remote modules #4761

Open
@jhlegarreta

Description

@jhlegarreta

Description

The dashboard is displaying configure warnings related to the cmake_minimum_required version value in remote modules, e.g.
https://open.cdash.org/builds/9713834/configure
https://open.cdash.org/builds/9713631/configure
https://open.cdash.org/builds/9716262/configure

It needs to be updated to 3.16.3 to be up-to-date with ITK, i.e.

cmake_minimum_required(VERSION ${ITK_OLDEST_VALIDATED_POLICIES_VERSION}...${ITK_NEWEST_VALIDATED_POLICIES_VERSION}

if(MSVC AND ${CMAKE_MINIMUM_REQUIRED_VERSION} LESS 3.16.3)

Impact analysis

Remotes are being packaged with configure warnings.

Expected behavior

No configure warnings are raised.

Actual behavior

Configure warnings are present.

Versions

All HEAD versions of remotes.

Environment

N/A.

Additional Information

Identified while inspecting the dashboard from builds triggered by the changes in issue #4748.

Unfortunately, the GitHub action builds are not reporting these warnings as failures, and thus they may go unnoticed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:InfrastructureInfrastructure/ecosystem related changes, such as CMake or buildbots

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions