diff options
author | Vollstrecker <werner@vollstreckernet.de> | 2024-12-11 09:14:00 +0100 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2025-01-31 19:59:10 -0800 |
commit | 5ff476ee43fda6053ec5cc6dcf974aa3eb80d98e (patch) | |
tree | 4240adf1ce048232f638102441d3fdd07be95c4d /CMakeLists.txt | |
parent | 920385267f71cd451754f83366f8bf2df1c9eb21 (diff) | |
download | zlib-5ff476ee43fda6053ec5cc6dcf974aa3eb80d98e.tar.gz zlib-5ff476ee43fda6053ec5cc6dcf974aa3eb80d98e.tar.bz2 zlib-5ff476ee43fda6053ec5cc6dcf974aa3eb80d98e.zip |
CMake: Add minizip.
Diffstat (limited to 'CMakeLists.txt')
-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) | ||