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]>
-cmake_minimum_required(VERSION 3.10)
-
ADD_DEFINITIONS(-I..)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)