Skip to content

Build fails with CMake 4.0 #574

@sergiodj

Description

@sergiodj

Hi,

While building your software with CMake 4.0, I get:

2025/06/24 20:10:00 WARN CMake Error at CMakeLists.txt:12 (cmake_minimum_required):
2025/06/24 20:10:00 WARN   Compatibility with CMake < 3.5 has been removed from CMake.
2025/06/24 20:10:00 WARN
2025/06/24 20:10:00 INFO -- Configuring incomplete, errors occurred!
2025/06/24 20:10:00 WARN   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
2025/06/24 20:10:00 WARN   to tell CMake that the project requires at least <min> but has been updated
2025/06/24 20:10:00 WARN   to work with policies introduced by <max> or earlier.
2025/06/24 20:10:00 WARN
2025/06/24 20:10:00 WARN   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

This is mentioned in CMake 4.0's release notes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @sergiodj@CNugteren

    Issue actions

      Build fails with CMake 4.0 · Issue #574 · CNugteren/CLBlast