]> git.lyx.org Git - features.git/blobdiff - 3rdparty/zlib/CMakeLists.txt
Allow removing words from the personal dictionary, that weren't previously added.
[features.git] / 3rdparty / zlib / CMakeLists.txt
index b14776ef45d4dbb6591113360556866be0cb5063..e81e43af1cbf878c3deda40e425b4a679010a721 100644 (file)
@@ -2,12 +2,14 @@ cmake_minimum_required(VERSION 3.1)
 
 set(LYX_IPO_SUPPORTED FALSE)
 if (POLICY CMP0069)
-  if (NOT LYX_DEBUG)
-    cmake_policy(SET CMP0069 NEW)
-    include(CheckIPOSupported)
-    check_ipo_supported(RESULT LYX_IPO_SUPPORTED)
+  cmake_policy(SET CMP0069 NEW)
+  if (LYX_USE_IPO MATCHES "ON")
+    set(LYX_IPO_SUPPORTED YES)
   endif()
 endif()
+if (POLICY CMP0075)
+  cmake_policy(SET CMP0075 NEW)
+endif()
 
 set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)