zephyr/tests/unit/timeutil/CMakeLists.txt
Torsten Rasmussen 52ff0cf208 cmake: tests: add cmake_minimum_required() to tests
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>
2021-12-18 14:58:55 +01:00

9 lines
272 B
CMake

# Copyright 2019-2020 Peter Bigot Consulting
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
project(timeutil)
set(SOURCES main.c test_gmtime.c test_s32.c test_s64.c test_sync.c)
find_package(ZephyrUnittest REQUIRED HINTS $ENV{ZEPHYR_BASE})