lua: CMakeLists: drop redundant cmake_minimum_required
authorDavid Härdeman <[email protected]>
Sun, 5 Oct 2025 12:21:58 +0000 (14:21 +0200)
committerChristian Marangi <[email protected]>
Sun, 5 Oct 2025 12:33:54 +0000 (14:33 +0200)
The Lua module depends on the parent uci project and can't be build
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]>
[ improve commit description ]
Link: https://github.com/openwrt/uci/pull/7
Signed-off-by: Christian Marangi <[email protected]>
lua/CMakeLists.txt

index 6873917bdf43db4d491292755eac742d91113b1b..efdbfff15e330656481798d1e62336544ec1e2b5 100644 (file)
@@ -1,5 +1,3 @@
-cmake_minimum_required(VERSION 3.10)
-
 PROJECT(uci C)
 
 SET(CMAKE_INSTALL_PREFIX /)