Commit 590f4713 for xz
commit 590f4713b29f0236ab944487f40069355a515dbc
Author: Lasse Collin <lasse.collin@tukaani.org>
Date: Tue Dec 16 11:30:35 2025 +0200
CMake: Bump maximum policy version to 4.2
CMP0186 is curious but we aren't affected.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 02c246d0..8d8d9a53 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,7 +77,7 @@
#
#############################################################################
-cmake_minimum_required(VERSION 3.20...3.31 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.20...4.2 FATAL_ERROR)
include(CMakePushCheckState)
include(CheckIncludeFile)