diff options
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 583151c..b777ad7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -7,6 +7,7 @@ project(zlib | |||
7 | option(ZLIB_BUILD_TESTING "Enable Zlib Examples as tests" ON) | 7 | option(ZLIB_BUILD_TESTING "Enable Zlib Examples as tests" ON) |
8 | option(ZLIB_BUILD_SHARED "Enable building zlib shared library" ON) | 8 | option(ZLIB_BUILD_SHARED "Enable building zlib shared library" ON) |
9 | option(ZLIB_BUILD_STATIC "Enable building zlib static library" ON) | 9 | option(ZLIB_BUILD_STATIC "Enable building zlib static library" ON) |
10 | option(ZLIB_BUILD_MINIZIP "Enable building libminizip contrib library" OFF) | ||
10 | option(ZLIB_INSTALL_LIBRARIES "Enable installation of zlib" ON) | 11 | option(ZLIB_INSTALL_LIBRARIES "Enable installation of zlib" ON) |
11 | option(ZLIB_PREFIX | 12 | option(ZLIB_PREFIX |
12 | "prefix for all types and library functions, see zconf.h.in" | 13 | "prefix for all types and library functions, see zconf.h.in" |
@@ -337,3 +338,7 @@ if(ZLIB_BUILD_TESTING) | |||
337 | 338 | ||
338 | add_subdirectory(test) | 339 | add_subdirectory(test) |
339 | endif(ZLIB_BUILD_TESTING) | 340 | endif(ZLIB_BUILD_TESTING) |
341 | |||
342 | if(ZLIB_BUILD_MINIZIP) | ||
343 | add_subdirectory(contrib/minizip/) | ||
344 | endif(ZLIB_BUILD_MINIZIP) | ||