blob: 32a8754c3ba14997e0d559d981185d3d9fa3803e [file] [log] [blame]
Gyorgy Szing65012dc2025-07-28 17:49:02 +02001From ad0ea0ad79e9c64516543596669e46968ad89a76 Mon Sep 17 00:00:00 2001
Gyorgy Szing36470052025-07-18 12:23:25 +02002From: Gyorgy Szing <gyorgy.szing@arm.com>
3Date: Fri, 18 Jul 2025 12:17:46 +0200
Gyorgy Szing65012dc2025-07-28 17:49:02 +02004Subject: [PATCH 2/2] Fix cmake 4.0 compatibility
Gyorgy Szing36470052025-07-18 12:23:25 +02005
6Cmake 4.0 dropped compatibility to cmake versions below 3.5. Update the
7required version on the cmake file as a workaround.
8
9Signed-off-by: Gyorgy Szing <gyorgy.szing@arm.com>
10---
11 CMakeLists.txt | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index d9ca865f..b30e7d77 100644
16--- a/CMakeLists.txt
17+++ b/CMakeLists.txt
18@@ -4,7 +4,7 @@ set(CppUTest_version_major 3)
19 set(CppUTest_version_minor 8)
20
21 # 2.6.3 is needed for ctest support
22-cmake_minimum_required(VERSION 2.8.7)
23+cmake_minimum_required(VERSION 3.8...3.31)
24
25 # Check for functions before setting a lot of stuff
26 include(CheckFunctionExists)
27--
282.34.1
29