From: David Härdeman Date: Sun, 5 Oct 2025 15:42:59 +0000 (+0200) Subject: examples: CMakeLists: drop redundant cmake_minimum_required X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f247c18f8a552b87f74427df5ef8c43f8f942628;p=project%2Fubus.git examples: CMakeLists: drop redundant cmake_minimum_required The examples depend on the parent ubus project and can't be built independently. Drop redundant cmake_minimum_required from examples/CMakeLists.txt and inherit the version from the parent CMake project to keep version consistency. Signed-off-by: David Härdeman Link: https://github.com/openwrt/ubus/pull/7 Signed-off-by: Christian Marangi --- diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index d808b22..bbcf7ae 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 3.10) - ADD_DEFINITIONS(-I..) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)