examples: CMakeLists: drop redundant cmake_minimum_required
authorDavid Härdeman <[email protected]>
Sun, 5 Oct 2025 15:42:59 +0000 (17:42 +0200)
committerChristian Marangi <[email protected]>
Tue, 7 Oct 2025 12:19:15 +0000 (14:19 +0200)
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 <[email protected]>
Link: https://github.com/openwrt/ubus/pull/7
Signed-off-by: Christian Marangi <[email protected]>
examples/CMakeLists.txt

index d808b2213d1fc8d7ea1c5db722028f898fa9560a..bbcf7ae90b54e41178a1dbc71734eac4cceaeafe 100644 (file)
@@ -1,5 +1,3 @@
-cmake_minimum_required(VERSION 3.10)
-
 ADD_DEFINITIONS(-I..)
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)