mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
New cmake version 4.0 requires at least 3.5 version as the minimum required version with it increased to 3.10 in to-be-released cmake versions. Set the minimum required version to 3.10 to future-proof for future cmake version. Suggested-by: Hannu Nyman <[email protected]> Signed-off-by: Christian Marangi <[email protected]>
14 lines
298 B
CMake
14 lines
298 B
CMake
cmake_minimum_required(VERSION 3.10)
|
|
|
|
PROJECT(mt76-test C)
|
|
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3)
|
|
|
|
ADD_EXECUTABLE(mt76-test main.c fields.c eeprom.c fwlog.c)
|
|
TARGET_LINK_LIBRARIES(mt76-test nl-tiny)
|
|
|
|
SET(CMAKE_INSTALL_PREFIX /usr)
|
|
|
|
INSTALL(TARGETS mt76-test
|
|
RUNTIME DESTINATION sbin
|
|
)
|