Skip to content

Upgrade CMake to at least 3.10 #410

@capitalistspz

Description

@capitalistspz

As of CMake 4.0 (March 2025), compatibility with versions below 3.5 (March 2016) has been removed, and compatibility with versions below 3.10 (November 2017) is planned to be removed.

Trying to use this library with CMake 4.2.2 produces this output

CMake Error at CMakeLists.txt:7 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions