From 2ccb2898bb1e6a46ab66eb33fd13ac868464a451 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Sat, 7 Mar 2020 13:49:35 +0100 Subject: [PATCH] Cmake build: Remove warnings about deprecated policy CMP0075 --- 3rdparty/zlib/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/3rdparty/zlib/CMakeLists.txt b/3rdparty/zlib/CMakeLists.txt index 9bc1d0dbee..e81e43af1c 100644 --- a/3rdparty/zlib/CMakeLists.txt +++ b/3rdparty/zlib/CMakeLists.txt @@ -7,6 +7,9 @@ if (POLICY CMP0069) set(LYX_IPO_SUPPORTED YES) endif() endif() +if (POLICY CMP0075) + cmake_policy(SET CMP0075 NEW) +endif() set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON) -- 2.39.5