[PATCH][procd] Bump the minimal required CMake version to 3.13

yegorslists at googlemail.com yegorslists at googlemail.com
Mon Jun 23 02:23:19 PDT 2025


From: Yegor Yefremov <yegorslists at googlemail.com>

This is the latest version found among the OpenWrt repositories.

Older CMake versions are marked as deprecated and generate
the related warning:

Compatibility with CMake < 3.5 will be removed from a future
version of CMake.

Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
---
 CMakeLists.txt          | 2 +-
 upgraded/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e734bf7..bbc3645 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 3.13)
 
 PROJECT(procd C)
 INCLUDE(GNUInstallDirs)
diff --git a/upgraded/CMakeLists.txt b/upgraded/CMakeLists.txt
index 09cf472..3d42ff7 100644
--- a/upgraded/CMakeLists.txt
+++ b/upgraded/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 3.13)
 
 PROJECT(upgraded C)
 FIND_PATH(ubox_include_dir libubox/uloop.h)
-- 
2.34.1




More information about the openwrt-devel mailing list