Skip to content

Raptor needs to drop compatibility with CMake <3.5 to build on CMake 4 #75

@adamnovak

Description

@adamnovak

With CMake 4, CMake has started failing the build when it finds a CMakeLists.txt that claims to be compatible back to a version lower than 3.5, because they don't believe the CI systems are using CMake that old and because they don't want to maintain all the policy code back that far, as I understand it.

See for example: https://stackoverflow.com/a/79535141

So it looks like:

CMAKE_MINIMUM_REQUIRED(VERSION 2.8.7)

Should be changed to at least 3.5, and possibly 3.10...4.0 to show it's tested up through 4.0 and to avoid deprecated versions that will soon similarly be errors to still support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions