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 <david@hardeman.nu>
Link: https://github.com/openwrt/libubox/pull/21
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-cmake_minimum_required(VERSION 3.10)
-
IF (BUILD_EXAMPLES)
PROJECT(ubox-examples C)
ADD_DEFINITIONS(-O1 -Wall -Werror --std=gnu99 -g3)