fix minizip on non windows builds (#4787)

* fix minizip on non windows builds

* [minizip] Bump control version
This commit is contained in:
angelmixu 2018-11-22 22:56:06 +01:00 committed by Robert Schumacher
parent 5daa7cac27
commit ea843854df
2 changed files with 9 additions and 3 deletions

View File

@ -15,21 +15,27 @@ include_directories(${MIN_SRC} ${ZLIB_INCLUDE_DIRS} ${BZIP2_INCLUDE_DIR})
set(SRC
${MIN_SRC}/ioapi.c
${MIN_SRC}/iowin32.c
${MIN_SRC}/unzip.c
${MIN_SRC}/zip.c
${MIN_SRC}/unzip.c
${MIN_SRC}/mztools.c
)
if(WIN32)
list(APPEND SRC ${MIN_SRC}/iowin32.c)
endif()
set(HEADERS
${MIN_SRC}/crypt.h
${MIN_SRC}/ioapi.h
${MIN_SRC}/iowin32.h
${MIN_SRC}/unzip.h
${MIN_SRC}/zip.h
${MIN_SRC}/unzip.h
${MIN_SRC}/mztools.h
)
if(WIN32)
list(APPEND HEADERS ${MIN_SRC}/iowin32.h)
endif()
if(BUILD_SHARED_LIBS)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
endif()

View File

@ -1,4 +1,4 @@
Source: minizip
Version: 1.2.11-2
Version: 1.2.11-3
Description: Zip compression library
Build-Depends: bzip2, zlib