Files
mt76/tools/CMakeLists.txt
T
Christian Marangi ec3f05480e tools: CMakeLists: update cmake minimum required version to 3.10
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]>
2025-10-03 23:44:39 +02:00

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
)