Skip to content

cmake 4.0 compatibility #7

@RagnarGrootKoerkamp

Description

@RagnarGrootKoerkamp

Soooo cmake 4.0 decided to drop support for cmakelists with a low minimum_required_version, and a lot of C-dependencies here are below that version (3.5 or so).

Basically it's a pain to recompile anything from scratch now... I had to go into all the submodules and bump it everywhere.

Alternatively this extra flag can be added to cmake invocations, but I didn't get that working yet.

So yeah I was just re-running ptrhash this time so was able to comment things out, but this is sadly gonna cause massive churn to keep things working.

See eg y-256/libdivsufsort#29 for what needs fixing (as far as I'm aware -- I've never written cmake configs).

edit: oh setting the CMAKE_POLICY_VERSION_MINIMUM env var to 3.5 would probably fix it recursively.

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