1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2026-05-21 13:20:53 -05:00

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.
This commit is contained in:
Mounir IDRASSI
2026-05-17 11:54:45 +09:00
parent 70922afe9b
commit 80bce77cb9
+1 -1
View File
@@ -1,5 +1,5 @@
# - Minimum CMake version # - Minimum CMake version
cmake_minimum_required(VERSION 2.8.0) cmake_minimum_required(VERSION 2.8.12...3.10)
# - Obligatory parameters # - Obligatory parameters
# -DVERACRYPT_BUILD_DIR : folder that contains 'usr' folder # -DVERACRYPT_BUILD_DIR : folder that contains 'usr' folder