mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
ee09c5301e
- vcmi can play music files from archives - converted resource_reward fields in bank_config into json object, fixes 3000 gems reward in shipwreck - some compile fixes for minizip
18 lines
390 B
CMake
18 lines
390 B
CMake
project(minizip)
|
|
cmake_minimum_required(VERSION 2.6)
|
|
|
|
include_directories(${ZLIB_INCLUDE_DIR})
|
|
|
|
#NOTE: full library consists from several more files
|
|
# but right now VCMI does not need any extra functionality
|
|
set(lib_SRCS
|
|
unzip.c
|
|
zip.c
|
|
ioapi.c
|
|
)
|
|
|
|
add_library(minizip SHARED ${lib_SRCS})
|
|
target_link_libraries(minizip ${ZLIB_LIBRARIES})
|
|
|
|
install(TARGETS minizip DESTINATION ${LIB_DIR})
|