From 61cc1e6fdc0eec075869e1d4d2e6e98c10856b97 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20H=C3=A4rdeman?= Date: Sun, 5 Oct 2025 17:49:28 +0200 Subject: [PATCH] examples: CMakeLists: drop redundant cmake_minimum_required MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- examples/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.30.2