Skip to content

Commit 1b09492

Browse files
committed
Bump minizip-ng
1 parent 804885e commit 1b09492

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

contrib/minizip-ng

Submodule minizip-ng updated 95 files

contrib/minizip-ng-cmake/CMakeLists.txt

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ if(MZ_WZAES)
120120

121121
list(APPEND MINIZIP_SRC
122122
${_MINIZIP_SOURCE_DIR}/mz_strm_wzaes.c)
123-
123+
124124
list(APPEND MINIZIP_HDR
125125
${_MINIZIP_SOURCE_DIR}/mz_strm_wzaes.h)
126126
endif()
@@ -129,10 +129,10 @@ endif()
129129
set(MZ_PKCRYPT ON)
130130
if(MZ_PKCRYPT)
131131
list(APPEND MINIZIP_DEF -DHAVE_PKCRYPT)
132-
132+
133133
list(APPEND MINIZIP_SRC
134134
${_MINIZIP_SOURCE_DIR}/mz_strm_pkcrypt.c)
135-
135+
136136
list(APPEND MINIZIP_HDR
137137
${_MINIZIP_SOURCE_DIR}/mz_strm_pkcrypt.h)
138138
endif()
@@ -144,20 +144,6 @@ if(UNIX)
144144
${_MINIZIP_SOURCE_DIR}/mz_strm_os_posix.c)
145145
endif()
146146

147-
# Include compatibility layer
148-
set(MZ_COMPAT ON)
149-
if(MZ_COMPAT)
150-
list(APPEND MINIZIP_SRC
151-
${_MINIZIP_SOURCE_DIR}/mz_compat.c)
152-
153-
list(APPEND MINIZIP_HDR
154-
${_MINIZIP_SOURCE_DIR}/mz_compat.h
155-
zip.h
156-
unzip.h)
157-
158-
list(APPEND MINIZIP_INC "${CMAKE_CURRENT_SOURCE_DIR}")
159-
list(APPEND MINIZIP_PUBLIC_DEF "-DMZ_COMPAT_VERSION=110")
160-
endif()
161147

162148
add_library(_minizip ${MINIZIP_SRC} ${MINIZIP_HDR})
163149
target_include_directories(_minizip PUBLIC ${MINIZIP_INC})

0 commit comments

Comments
 (0)