From 102ce1d844d221940fd1fe9d853a22632c6525a3 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 22 Feb 2026 15:08:31 +0100 Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ compatibility Fixes build error with cmake 4: CMake Error at _deps/eabase-src/CMakeLists.txt:4 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. Signed-off-by: Bernd Kuhls --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 652f07f..11e4430 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ #------------------------------------------------------------------------------------------- # Copyright (C) Electronic Arts Inc. All rights reserved. #------------------------------------------------------------------------------------------- -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.5) project(EABase CXX) #-------------------------------------------------------------------------------------------