From cbf815e745af25472399c046a147f2f77af531dc Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Sat, 18 Dec 2021 00:26:02 +0100 Subject: [PATCH] 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 --- subsys/testsuite/unittest.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/subsys/testsuite/unittest.cmake b/subsys/testsuite/unittest.cmake index c5427f56279..b93565e9225 100644 --- a/subsys/testsuite/unittest.cmake +++ b/subsys/testsuite/unittest.cmake @@ -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)