mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-16 16:57:28 +00:00
Edit CMakeLists.txt to fulfill cmake 4.0 requirement that cmake_minimum_required is now at least 3.5 and in future 3.10. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Link: https://github.com/openwrt/openwrt/pull/20265 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
12 lines
326 B
CMake
12 lines
326 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
|
|
PROJECT(jboot-tools C)
|
|
ADD_DEFINITIONS(-Wall -Werror --std=gnu99 -Wmissing-declarations)
|
|
|
|
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
|
|
|
|
ADD_EXECUTABLE(jboot_config_read jboot_config_read.c)
|
|
TARGET_LINK_LIBRARIES(jboot_config_read)
|
|
|
|
INSTALL(TARGETS jboot_config_read RUNTIME DESTINATION bin)
|