diff options
Diffstat (limited to 'libraries/libxlsxwriter/cmake_version_check.patch')
-rw-r--r-- | libraries/libxlsxwriter/cmake_version_check.patch | 16 |
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 + # ------- |