diff options
| author | Vollstrecker <werner@vollstreckernet.de> | 2024-12-07 17:20:40 +0100 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2025-01-31 19:59:10 -0800 |
| commit | 9e058e844334a6f9289bf6e6650ca46d4a3e2ce9 (patch) | |
| tree | bb61e1032333d462c2e711419c96a0bbdb86cb5a | |
| parent | 53c2727aaf0ffbc052a50c80931b40cf5eb8ee65 (diff) | |
| download | zlib-9e058e844334a6f9289bf6e6650ca46d4a3e2ce9.tar.gz zlib-9e058e844334a6f9289bf6e6650ca46d4a3e2ce9.tar.bz2 zlib-9e058e844334a6f9289bf6e6650ca46d4a3e2ce9.zip | |
CMake: Add option for ZLIB_PREFIX.
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 167c045..7e8e89c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -8,6 +8,10 @@ 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_INSTALL_LIBRARIES "Enable installation of zlib" ON) | 10 | option(ZLIB_INSTALL_LIBRARIES "Enable installation of zlib" ON) |
| 11 | option(ZLIB_PREFIX | ||
| 12 | "prefix for all types and library functions, see zconf.h.in" | ||
| 13 | OFF) | ||
| 14 | mark_as_advanced(ZLIB_PREFIX) | ||
| 11 | 15 | ||
| 12 | if(WIN32) | 16 | if(WIN32) |
| 13 | option(ZLIB_INSTALL_COMPAT_DLL "Install a copy as zlib1.dll" ON) | 17 | option(ZLIB_INSTALL_COMPAT_DLL "Install a copy as zlib1.dll" ON) |
