summaryrefslogtreecommitdiffstats
path: root/libxlsxwriter-el6.patch
blob: 5521c6381711bf0f0feed64a3289670f2ccedae3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff -up ./CMakeLists.txt.el6 ./CMakeLists.txt
--- ./CMakeLists.txt.el6	2019-12-16 22:07:03.000000000 +0100
+++ ./CMakeLists.txt	2019-12-18 10:19:34.154147928 +0100
@@ -99,15 +99,6 @@ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
 project(${PROJECT_NAME} C)
 enable_testing()
 
-# POLICY
-# ------
-
-# The use of the word ZLIB_ROOT should still work prior to "3.12.0",
-# just it's been generalized for all packages now. Just set the policy
-# to new, so we use it, and it will be used prior to 3.12 anyway.
-if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.12")
-    cmake_policy(SET CMP0074 NEW)
-endif()
 
 # OPTIONS
 # -------