yuzu/externals/vcpkg/ports/xlsxio/fix-dependencies.patch

17 lines
512 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
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