]> 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>
Tue, 7 May 2024 12:58:44 +0000 (15:58 +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.

(cherry picked from commit 5be6275f19784cdd5a954f0188045c8ff4934d54)

CMakeLists.txt

index 1afe1d138a67f544dcec438cc9ed0c57cffb4d49..fdee8bf35cc3798ffbee62324c681a843640cdbc 100644 (file)
@@ -46,7 +46,7 @@
 #
 #############################################################################
 
-cmake_minimum_required(VERSION 3.13...3.25 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.13...3.27 FATAL_ERROR)
 
 include(CheckSymbolExists)
 include(CheckStructHasMember)