mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
fix minizip on non windows builds (#4787)
* fix minizip on non windows builds * [minizip] Bump control version
This commit is contained in:
parent
5daa7cac27
commit
ea843854df
@ -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()
|
||||
|
@ -1,4 +1,4 @@
|
||||
Source: minizip
|
||||
Version: 1.2.11-2
|
||||
Version: 1.2.11-3
|
||||
Description: Zip compression library
|
||||
Build-Depends: bzip2, zlib
|
||||
|
Loading…
x
Reference in New Issue
Block a user