cmake: remove CMake policy CMP0000 and CMP0002 in unittest.cmake

Two CMake policies has been removed:
CMP0000 was introduced in CMake 2.6 and set to OLD, but with all Zephyr
        CMake files using cmake_minimum_required() then there is no
	reason for having this policy to OLD.
CMP0002 was introduced in CMake 2.6 and was set to NEW.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen 2021-12-18 00:26:02 +01:00 committed by Carles Cufí
commit cbf815e745

View file

@ -1,8 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
cmake_policy(SET CMP0000 OLD)
cmake_policy(SET CMP0002 NEW)
enable_language(C CXX ASM)