1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-01 15:35:47 +00:00
Aquaria/ExternalLibs/ttvfs_zip/CMakeLists.txt

33 lines
672 B
Text
Raw Normal View History

set(ttvfs_zip_SRC
VFSDirZip.cpp
VFSDirZip.h
VFSFileZip.cpp
VFSFileZip.h
VFSZipArchiveLoader.cpp
VFSZipArchiveLoader.h
2014-04-06 17:19:33 +00:00
VFSZipArchiveRef.cpp
VFSZipArchiveRef.h
miniz.c
miniz.h
2017-01-12 22:52:59 +00:00
ttvfs_zip.h
)
2017-01-14 17:38:10 +00:00
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})
2017-01-12 22:52:59 +00:00
install(TARGETS ttvfs_zip DESTINATION lib)
install(FILES miniz.c DESTINATION include/ttvfs)
install(DIRECTORY ./ DESTINATION include/ttvfs
FILES_MATCHING PATTERN "*.h")