From: David Härdeman Date: Sun, 5 Oct 2025 15:49:28 +0000 (+0200) Subject: examples: CMakeLists: drop redundant cmake_minimum_required X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=61cc1e6fdc0eec075869e1d4d2e6e98c10856b97;p=project%2Flibubox.git examples: CMakeLists: drop redundant cmake_minimum_required The examples depend on the parent libubox 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/libubox/pull/21 Signed-off-by: Christian Marangi --- diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 0ca5281..9347ac2 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 3.10) - IF (BUILD_EXAMPLES) PROJECT(ubox-examples C) ADD_DEFINITIONS(-O1 -Wall -Werror --std=gnu99 -g3)