From decf167b6b840fd520aec1f2fdac68a23c2acb83 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 18 Jan 2026 10:57:58 +0100 Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ compatibility Fixes: CMake Error at CMakeLists.txt:7 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. 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! Signed-off-by: Bernd Kuhls --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 575eb24..efaf339 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ # SPDX-License-Identifier: MIT # -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.5) project(easydbus C) add_definitions("-Wall -Wextra -Wno-unused-parameter")