From: Christian Marangi Date: Fri, 3 Oct 2025 22:07:38 +0000 (+0200) Subject: examples: CMakeLists: update cmake minimum required version to 3.10 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=2b69c9859946af32cbe89173b71bcecbd1761734;p=project%2Fubus.git examples: CMakeLists: update cmake minimum required version to 3.10 New cmake version 4.0 requires at least 3.5 version as the minimum required version with it increased to 3.10 in to-be-released cmake versions. Set the minimum required version to 3.10 to future-proof for future cmake version. Suggested-by: Hannu Nyman Signed-off-by: Christian Marangi --- diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 81f9997..d808b22 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 3.10) ADD_DEFINITIONS(-I..) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)