Adding cmake_minimum_required() as this is required by CMake. CMP0000 is a deprecated policy which allows to omit this function call, however doing so will result in CMake printing a warning. Adding cmake_minimum_required() to tests missing this call will remove the warning and also allow us to remove the policy setting. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
8 lines
186 B
CMake
8 lines
186 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
project(lib_os_cbprintf)
|
|
set(SOURCES main.c)
|
|
find_package(ZephyrUnittest REQUIRED HINTS $ENV{ZEPHYR_BASE})
|