]> git.lyx.org Git - features.git/commitdiff
Cmake build: Remove warnings about deprecated policy CMP0075
authorKornel Benko <kornel@lyx.org>
Sat, 7 Mar 2020 12:49:35 +0000 (13:49 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:53 +0000 (15:48 +0200)
3rdparty/zlib/CMakeLists.txt

index 9bc1d0dbee7c1dee2ad29e23400e0359a68c0176..e81e43af1cbf878c3deda40e425b4a679010a721 100644 (file)
@@ -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)