]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Update cmake minimum requirement to 3.10
authorVictor Zhang <csv@meta.com>
Mon, 9 Dec 2024 18:53:38 +0000 (10:53 -0800)
committerVictor Zhang <csv@meta.com>
Mon, 9 Dec 2024 18:53:38 +0000 (10:53 -0800)
CMake warns on the current minimum requirement (3.5). Update to 3.10.
This means support is still available for the default on Ubuntu 18.04, which
exited LTS standard in April of 2023.
[draft]

build/cmake/CMakeLists.txt

index 399b818fc20b1bcba8d3af77bdff5bc8ef5ce597..b43671cc216b0da6983287ac6a37f99f3d057e59 100644 (file)
@@ -7,7 +7,7 @@
 # in the COPYING file in the root directory of this source tree).
 # ################################################################
 
-cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
 
 # As of 2018-12-26 ZSTD has been validated to build with cmake version 3.13.2 new policies.
 # Set and use the newest cmake policies that are validated to work