vcpkg/ports/libxlsxwriter/fix-zlib-ver-required.patch
2023-06-16 20:52:08 -07:00

14 lines
409 B
Diff

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})