Skip to content

Cmake update appears to break compilation #453

@fnmut

Description

@fnmut

I'm seeing this error during a build:

22.60     | CMake Error at src/h3lib/CMakeLists.txt:15 (cmake_minimum_required):
22.60     |   Compatibility with CMake < 3.5 has been removed from CMake.
22.60     |
22.60     |   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
22.60     |   to tell CMake that the project requires at least <min> but has been updated
22.60     |   to work with policies introduced by <max> or earlier.
22.60     |
22.60     |   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

It appears cmake updated yesterday to version 4.0. I think this introduces this compatibility issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions