From d35753a6d0e1bd0287c88998ffc9cb874279536b Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Thu, 10 Nov 2022 10:34:15 -0500 Subject: [PATCH] CMake build: disable warn about not known policy This only showed up with -DLYX_EXTERNAL_ICONV=OFF. --- 3rdparty/libiconv/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/3rdparty/libiconv/CMakeLists.txt b/3rdparty/libiconv/CMakeLists.txt index 39beb96fbf..12d5446a12 100644 --- a/3rdparty/libiconv/CMakeLists.txt +++ b/3rdparty/libiconv/CMakeLists.txt @@ -14,6 +14,9 @@ if (POLICY CMP0069) set(LYX_IPO_SUPPORTED YES) endif() endif() +if (POLICY CMP0075) + cmake_policy(SET CMP0075 NEW) +endif() set(CMAKE_MODULE_PATH .) include ( configure.cmake )