mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-28 04:26:20 +01:00
17 lines
382 B
CMake
17 lines
382 B
CMake
project(minizip C)
|
|
|
|
set(SRCS ioapi.c unzip.c)
|
|
|
|
add_definitions(-DNOUNCRYPT)
|
|
if(UNIX)
|
|
add_definitions(-D__USE_FILE_OFFSET64)
|
|
add_definitions(-D__USE_LARGEFILE64)
|
|
add_definitions(-D_LARGEFILE64_SOURCE)
|
|
add_definitions(-D_FILE_OFFSET_BIT=64)
|
|
endif()
|
|
|
|
add_library(minizip STATIC ${SRCS})
|
|
target_include_directories(minizip PUBLIC .)
|
|
|
|
add_library(MiniZip::minizip ALIAS minizip)
|