summaryrefslogtreecommitdiffstats
path: root/libraries/libxlsxwriter/cmake_version_check.patch
diff options
context:
space:
mode:
author Dave Woodfall <dave@slackbuilds.org>2019-12-18 17:21:44 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-21 11:02:50 +0700
commit19b619ab5e538dee44dac2f1a2d77887b43b34d0 (patch)
treebcb10f9be8139700d8ba706001a442ea876f7a33 /libraries/libxlsxwriter/cmake_version_check.patch
parentc53cbc8407c182f6db3e5e139806a1e9e97e8f23 (diff)
downloadslackbuilds-19b619ab5e538dee44dac2f1a2d77887b43b34d0.tar.gz
slackbuilds-19b619ab5e538dee44dac2f1a2d77887b43b34d0.tar.xz
libraries/libxlsxwriter: Updated for version 0.8.9.
Diffstat (limited to 'libraries/libxlsxwriter/cmake_version_check.patch')
-rw-r--r--libraries/libxlsxwriter/cmake_version_check.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/libraries/libxlsxwriter/cmake_version_check.patch b/libraries/libxlsxwriter/cmake_version_check.patch
new file mode 100644
index 0000000000..c997d6d33c
--- /dev/null
+++ b/libraries/libxlsxwriter/cmake_version_check.patch
@@ -0,0 +1,16 @@
+diff -Naur a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt 2019-12-16 21:07:03.000000000 +0000
++++ b/CMakeLists.txt 2019-12-18 17:18:01.270919658 +0000
+@@ -99,9 +99,9 @@
+ # 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()
++#if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.12")
++# cmake_policy(SET CMP0074 NEW)
++#endif()
+
+ # OPTIONS
+ # -------