mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-24 14:45:41 +00:00
23 lines
467 B
CMake
23 lines
467 B
CMake
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)
|
|
|