]> git.lyx.org Git - features.git/blobdiff - 3rdparty/zlib/CMakeLists.txt
Cmake build: Use interprocedural optimization if possible
[features.git] / 3rdparty / zlib / CMakeLists.txt
index c29081f14a4cae22d46ee11efd14a6fc4630bcad..a8ca489369aaefcf5b5eda6682ea18e31567b769 100644 (file)
@@ -1,10 +1,15 @@
-cmake_minimum_required(VERSION 2.4.4)
+cmake_minimum_required(VERSION 3.1)
+
+if (POLICY CMP0069)
+  cmake_policy(SET CMP0069 NEW)
+endif()
+
 set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
 
 project(zlib C)
 
-set(VERSION "1.2.8")
-set(SRCDIR ${CMAKE_CURRENT_SOURCE_DIR}/1.2.8)
+set(VERSION "1.2.11")
+set(SRCDIR ${CMAKE_CURRENT_SOURCE_DIR}/1.2.11)
 
 option(ASM686 "Enable building i686 assembly implementation")
 option(AMD64 "Enable building amd64 assembly implementation")