vcpkg/ports/libxlsxwriter/fix-zlib-ver-required.patch

14 lines
409 B
Diff
Raw Normal View History

2023-06-17 11:52:08 +08:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 776c88a..ccc057d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -219,7 +219,7 @@ enable_language(CXX)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
# ZLIB
-find_package(ZLIB REQUIRED "1.0")
+find_package(ZLIB "1.0" REQUIRED)
list(APPEND LXW_PRIVATE_INCLUDE_DIRS ${ZLIB_INCLUDE_DIRS})
message("zlib version: " ${ZLIB_VERSION})