Skip to content

CMake version incompatibility #790

@GuilhermeTerriaga

Description

@GuilhermeTerriaga

While doing arch makepkg -si from https://aur.archlinux.org/packages/klogg, I got the following error:

CMake Error at cmake/ucm.cmake:13 (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.
Call Stack (most recent call first):
  CMakeLists.txt:101 (include)

My cmake version is cmake version 4.1.1

Maybe update the cmake_minimum_required(VERSION 3.12) line from CMakeLists.txt to another version resolve the issue.
I'll try to update and install, If I succeed, I'll open a PR.


Screenshot:

Image

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