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.2.13~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d70e66ecb9a3d9bce9a2fad3df746ab861dc94a;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. (cherry picked from commit 5be6275f19784cdd5a954f0188045c8ff4934d54) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1afe1d13..fdee8bf3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)