]> git.lyx.org Git - features.git/commitdiff
CMake build: disable warn about not known policy
authorScott Kostyshak <skostysh@lyx.org>
Thu, 10 Nov 2022 15:34:15 +0000 (10:34 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Thu, 10 Nov 2022 15:34:15 +0000 (10:34 -0500)
This only showed up with -DLYX_EXTERNAL_ICONV=OFF.

3rdparty/libiconv/CMakeLists.txt

index 39beb96fbf66bed6be220d51f89f5209a5aca07b..12d5446a129d4b3437455ccb1c272e8abd1087e2 100644 (file)
@@ -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 )