]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
CMake: Bump maximum policy version to 3.27.
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 12 Sep 2023 18:12:34 +0000 (21:12 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 22 Sep 2023 17:06:27 +0000 (20:06 +0300)
There are several new policies. CMP0149 may affect the Windows SDK
version that CMake will choose by default. The new behavior is more
predictable, always choosing the latest SDK version by default.

The other new policies shouldn't affect this package.

CMakeLists.txt

index 8ecccde03288a1e8d219660fa89d9a86a66d9865..c5e19a9a331688762c04f322f07f610afd64a1cb 100644 (file)
@@ -46,7 +46,7 @@
 #
 #############################################################################
 
-cmake_minimum_required(VERSION 3.13...3.26 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.13...3.27 FATAL_ERROR)
 
 include(CMakePushCheckState)
 include(CheckIncludeFile)