Gyorgy Szing | 3647005 | 2025-07-18 12:23:25 +0200 | [diff] [blame^] | 1 | From 1147a71cfa5657b13c13d10194d8a5b4c28e1709 Mon Sep 17 00:00:00 2001 |
| 2 | From: Gyorgy Szing <gyorgy.szing@arm.com> |
| 3 | Date: Fri, 18 Jul 2025 12:17:46 +0200 |
| 4 | Subject: [PATCH 1/1] Fix cmake 4.0 compatibility |
| 5 | |
| 6 | Cmake 4.0 dropped compatibility to cmake versions below 3.5. Update the |
| 7 | required version on the cmake file as a workaround. |
| 8 | |
| 9 | Signed-off-by: Gyorgy Szing <gyorgy.szing@arm.com> |
| 10 | --- |
| 11 | CMakeLists.txt | 2 +- |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 15 | index 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 | -- |
| 28 | 2.34.1 |
| 29 | |