diff options
Diffstat (limited to 'libmariadb/zlib/CMakeLists.txt')
-rw-r--r-- | libmariadb/zlib/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libmariadb/zlib/CMakeLists.txt b/libmariadb/zlib/CMakeLists.txt new file mode 100644 index 00000000..dc352b40 --- /dev/null +++ b/libmariadb/zlib/CMakeLists.txt @@ -0,0 +1,13 @@ +INCLUDE_DIRECTORIES(${CC_SOURCE_DIR}/zlib) + +SET(SOURCE_FILES adler32.c compress.c crc32.c deflate.c gzclose.c gzlib.c gzread.c gzwrite.c infback.c inffast.c inflate.c inftrees.c minigzip.c trees.c uncompr.c zutil.c) + +ADD_LIBRARY(zlib ${SOURCE_FILES}) +SET_TARGET_PROPERTIES(zlib PROPERTIES COMPILE_FLAGS + "${CMAKE_SHARED_LIBRARY_C_FLAGS}") + +INSTALL(TARGETS + zlib + RUNTIME DESTINATION "lib" + LIBRARY DESTINATION "lib" + ARCHIVE DESTINATION "lib") |