1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-29 12:03:51 +00:00
Aquaria/ExternalLibs/ttvfs_zip/CMakeLists.txt
2017-01-14 18:38:10 +01:00

32 lines
672 B
CMake

set(ttvfs_zip_SRC
VFSDirZip.cpp
VFSDirZip.h
VFSFileZip.cpp
VFSFileZip.h
VFSZipArchiveLoader.cpp
VFSZipArchiveLoader.h
VFSZipArchiveRef.cpp
VFSZipArchiveRef.h
miniz.c
miniz.h
ttvfs_zip.h
)
if(NOT MSVC)
set_source_files_properties(
miniz.c
PROPERTIES COMPILE_FLAGS "-Wno-attributes -fno-strict-aliasing -Wno-strict-aliasing"
)
endif(NOT MSVC)
include_directories(${TTVFS_INCLUDE_DIRS})
add_library(ttvfs_zip ${ttvfs_zip_SRC})
install(TARGETS ttvfs_zip DESTINATION lib)
install(FILES miniz.c DESTINATION include/ttvfs)
install(DIRECTORY ./ DESTINATION include/ttvfs
FILES_MATCHING PATTERN "*.h")