From 07ebfe579bd494600670af9f47bbde57ee5f1fa9 Mon Sep 17 00:00:00 2001 From: hjm Date: Sat, 19 Sep 2026 20:37:41 +0800 Subject: [PATCH] build: raise cmake_minimum_required to 3.5 for CMake 4.x compatibility --- core/src/main/cpp/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/cpp/CMakeLists.txt b/core/src/main/cpp/CMakeLists.txt index 82f2a82dac..d148e10703 100644 --- a/core/src/main/cpp/CMakeLists.txt +++ b/core/src/main/cpp/CMakeLists.txt @@ -1,4 +1,5 @@ -cmake_minimum_required(VERSION 3.0) +# 3.5 is the minimum accepted by CMake 4.x (anything lower is a hard error there) +cmake_minimum_required(VERSION 3.5) # 获取git hash