17 lines
512 B
Diff
Executable File
17 lines
512 B
Diff
Executable File
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
|