I have a manjaro virtual machine and after updating I got cmake 4 which has removed compatibility for cmake below 3.5.
This confirms Lorenzo's error.

Of course Rosegarden should still compile with cmake 3.1.

A possible solution is to use:
cmake_minimum_required(VERSION 3.1...3.31)

3.31 is the last cmake 3 version.
I find the cmake documentation a little confusing here but I believe 3.31 is then the "policy" version not a maximum.

I have confirmed that this works for me (3.28) and manjaro (4.0)

On 17/05/2025 08:49, Will Godfrey wrote:
On Fri, 16 May 2025 13:50:28 -0400
Ted Felix <t...@tedfelix.com> wrote:

On 5/16/25 6:48 AM, Lorenzo Sutton wrote:
CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
    Compatibility with CMake < 3.5 has been removed from CMake.
   I just pushed a change [7166129d25] that should fix this.  We now
require cmake 3.5 or newer.  Please test latest git.

Ted.
This means I can't use it :(
Debian testing and derivatives are on cmake V3.3.31.6





_______________________________________________
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user

Reply via email to