From 37f1dc71323f7de490bf4c76eba8f4a3519f493a Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Mon, 8 Dec 2025 11:39:16 +0100 Subject: [PATCH] CMakeLists.txt: bump minimum CMake version to 3.10 This bump fixes the following compatibility issue with CMake 4.x: | Update the VERSION argument value. Or, use the ... syntax | to tell CMake that the project requires at least but has been updated | to work with policies introduced by or earlier. | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | -- Configuring incomplete, errors occurred! libconfig| CMake configuration: FAILED --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d5a208a..0444980 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1...3.28) +cmake_minimum_required(VERSION 3.10) # Extract version from configure.ac. set(VERSION_REGEX "^AC_INIT\\(\\[libconfig\\],[ \t]*\\[([0-9.]+)\\],.*")