mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-05-21 21:30:48 -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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user