mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-09 16:21:39 +08:00
8000529d61
* add port: xlsxio * vcpkg x-add-version xlsxio * fix deps * add vcpkg_fixup_pkgconfig() * Apply suggestions from code review To be consistent, `OUT_FEATURE_OPTIONS FEATURE_OPTIONS` in a new line, as in `vcpkg_from_git`. Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Update ports/xlsxio/portfile.cmake Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * format * use date as version string * vcpkg format-manifest * Update ports/xlsxio/portfile.cmake Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * patch for dependency * fix typo * vcpkg x-add-version * remove feature wide * Update ports/xlsxio/vcpkg.json deprecate libzip that's an alternative and imperfect Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update ports/xlsxio/vcpkg.json Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update versions/x-/xlsxio.json Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Remove x64-windows-cpp17 community triplet Co-authored-by: abc <a@b.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
17 lines
512 B
Diff
17 lines
512 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 490ee5c..05c7ee5 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -49,9 +49,8 @@ IF(WITH_LIBZIP)
|
|
SET(ANYZIP_LIBRARIES ${LIBZIP_LIBRARIES})
|
|
SET(ANYZIP_DEF USE_LIBZIP)
|
|
ELSE()
|
|
- FIND_PACKAGE(Minizip REQUIRED)
|
|
- SET(ANYZIP_INCLUDE_DIRS ${MINIZIP_INCLUDE_DIRS})
|
|
- SET(ANYZIP_LIBRARIES ${MINIZIP_LIBRARIES})
|
|
+ FIND_PACKAGE(minizip CONFIG REQUIRED)
|
|
+ SET(ANYZIP_LIBRARIES minizip::minizip)
|
|
SET(ANYZIP_DEF USE_MINIZIP)
|
|
ENDIF()
|
|
# dependancy: expat
|