From 80bce77cb9675429e3242c7491532b5cac0e2fb3 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 17 May 2026 11:54:45 +0900 Subject: [PATCH] Fix CMake 4 compatibility for Linux packaging Keep the executable requirement at CMake 2.8.12 for legacy CentOS 6 package builders while using the version-range syntax to declare policy compatibility up to 3.10. Newer CMake versions use the policy maximum to avoid CMake 4 failures, and older CMake versions ignore the suffix and continue to configure as before. --- src/Build/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Build/CMakeLists.txt b/src/Build/CMakeLists.txt index f8728fba..8e3fabce 100644 --- a/src/Build/CMakeLists.txt +++ b/src/Build/CMakeLists.txt @@ -1,5 +1,5 @@ # - Minimum CMake version -cmake_minimum_required(VERSION 2.8.0) +cmake_minimum_required(VERSION 2.8.12...3.10) # - Obligatory parameters # -DVERACRYPT_BUILD_DIR : folder that contains 'usr' folder