You are not logged in.

#1 2025-06-05 08:59:12

watevr
Member
Registered: 2025-06-05
Posts: 1

Cmake error

Trying to install grub-customizer but keep getting this error. How to change cmake minimun version


CMake Error at CMakeLists.txt:2 (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.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
-> error making: grub-customizer-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
grub-customizer-git - exit status 4

Offline

#2 2025-06-05 09:34:31

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,870

Re: Cmake error

2025-05-14    Fix build with CMAKE 4    Robin Candau

The aur maintainer has adjusted the PKGBUILD to prevent that error , make sure you are building 5.2.5-2 .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB