mirror of https://github.com/stenzek/duckstation
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
467 B
CMake
23 lines
467 B
CMake
5 years ago
|
add_library(minizip
|
||
|
include/ioapi.h
|
||
|
include/mztools.h
|
||
|
include/unzip.h
|
||
|
include/zip.h
|
||
|
src/crypt.h
|
||
|
src/ioapi.c
|
||
|
src/mztools.c
|
||
|
src/unzip.c
|
||
|
src/zip.c)
|
||
|
|
||
|
if(WIN32)
|
||
|
target_sources(minizip PRIVATE
|
||
|
include/iowin32.h
|
||
|
src/iowin32.c
|
||
|
)
|
||
|
endif()
|
||
|
|
||
|
target_include_directories(minizip PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||
|
target_include_directories(minizip INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||
|
target_link_libraries(minizip zlib)
|
||
|
|