mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2024-12-01 16:11:58 +00:00
26 lines
247 B
Text
26 lines
247 B
Text
|
project(minizip)
|
||
|
|
||
|
cmake_minimum_required(VERSION 2.6)
|
||
|
|
||
|
find_package(ZLIB REQUIRED)
|
||
|
|
||
|
set (SOURCES
|
||
|
ioapi.c
|
||
|
unzip.c
|
||
|
zip.c
|
||
|
)
|
||
|
|
||
|
set (HEADERS
|
||
|
ioapi.h
|
||
|
unzip.h
|
||
|
zip.h
|
||
|
)
|
||
|
|
||
|
add_library(minizip
|
||
|
${SOURCES}
|
||
|
${HEADERS}
|
||
|
)
|
||
|
|
||
|
target_link_libraries(minizip z)
|
||
|
|