The Lua module depends on the parent ubus project and can't be built
independently.
Drop redundant cmake_minimum_required from lua/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)
-
PROJECT(ubus C)
SET(CMAKE_INSTALL_PREFIX /)