duckstation/dep/minizip/CMakeLists.txt
Connor McLaughlin 1137b388c4 dep: Add minizip
2020-01-24 14:51:22 +10:00

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)