From 4424af2147fe3cfdb5f3366ca6b4fd8fff59bec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20BRIOL?= Date: Sun, 1 Oct 2023 09:15:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Set=20policy=20CMP0144?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e5212653..86284ce8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,10 @@ if(POLICY CMP0077) cmake_policy(SET CMP0077 NEW) endif() +if(POLICY_CMP0144) + cmake_policy(SET CMP0144 NEW) +endif() + if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") set(SANITIZE "address,undefined") if(UNIX AND NOT APPLE)