From: Lasse Collin Date: Tue, 12 Sep 2023 18:12:34 +0000 (+0300) Subject: CMake: Bump maximum policy version to 3.27. X-Git-Tag: v5.5.1alpha~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3288fdb45c580cb849f6799cf419c4922004ae5;p=thirdparty%2Fxz.git CMake: Bump maximum policy version to 3.27. 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. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ecccde0..c5e19a9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)