From 82476469248d60d00f785e0dbd066369db1ffbf0 Mon Sep 17 00:00:00 2001 From: "Andrii Kalinich (GitHub)" Date: Thu, 22 Jul 2021 09:55:14 -0400 Subject: Fix cmake warning under external flow (#3730) * Established the new policy for CMP0054 and added if and else for different Policy values --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index e638310f88..3b53b87e39 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,6 +29,7 @@ # POSSIBILITY OF SUCH DAMAGE. cmake_minimum_required(VERSION 2.8.11) +cmake_policy(SET CMP0054 NEW) set (PROJECT smartDeviceLinkCore) project (${PROJECT}) -- cgit v1.2.1