Duckstation/dep/minizip/CMakeLists.txt

23 lines
473 B
CMake
Raw Normal View History

2020-01-24 04:51:22 +00:00
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")
2024-02-03 07:12:40 +00:00
target_link_libraries(minizip ZLIB::ZLIB)
2020-01-24 04:51:22 +00:00