mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 23:07:55 +08:00
27 lines
868 B
Diff
27 lines
868 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index e656184..776c88a 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -225,8 +225,8 @@ message("zlib version: " ${ZLIB_VERSION})
|
||
|
|
||
|
# MINIZIP
|
||
|
if (USE_SYSTEM_MINIZIP)
|
||
|
- find_package(MINIZIP REQUIRED "1.0")
|
||
|
- list(APPEND LXW_PRIVATE_INCLUDE_DIRS ${MINIZIP_INCLUDE_DIRS})
|
||
|
+ find_package(MINIZIP NAMES unofficial-minizip REQUIRED)
|
||
|
+ set(MINIZIP_LIBRARIES unofficial::minizip::minizip)
|
||
|
endif()
|
||
|
|
||
|
# LIBRARY
|
||
|
diff --git a/dev/release/pkg-config.txt b/dev/release/pkg-config.txt
|
||
|
index a87d080..fa58047 100644
|
||
|
--- a/dev/release/pkg-config.txt
|
||
|
+++ b/dev/release/pkg-config.txt
|
||
|
@@ -7,4 +7,5 @@ Name: libxlsxwriter
|
||
|
Description: A C library for creating Excel XLSX files
|
||
|
Version: @VERSION@
|
||
|
Cflags: -I${includedir}
|
||
|
-Libs: -L${libdir} -lxlsxwriter -lz
|
||
|
+Libs: -L${libdir} -lxlsxwriter
|
||
|
+Requires.private: minizip zlib
|