lua: CMakeLists: drop redundant cmake_minimum_required
authorDavid Härdeman <[email protected]>
Sun, 5 Oct 2025 15:41:31 +0000 (17:41 +0200)
committerChristian Marangi <[email protected]>
Tue, 7 Oct 2025 12:19:11 +0000 (14:19 +0200)
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]>
lua/CMakeLists.txt

index bf45139b2e77cd733e7d21842053f3c8b5672c1e..0f9bf8fedddafb0f3e2ba89aa22832ac2fda6d43 100644 (file)
@@ -1,5 +1,3 @@
-cmake_minimum_required(VERSION 3.10)
-
 PROJECT(ubus C)
 
 SET(CMAKE_INSTALL_PREFIX /)