aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVollstrecker <werner@vollstreckernet.de>2024-12-07 17:20:40 +0100
committerMark Adler <madler@alumni.caltech.edu>2025-01-31 19:59:10 -0800
commit9e058e844334a6f9289bf6e6650ca46d4a3e2ce9 (patch)
treebb61e1032333d462c2e711419c96a0bbdb86cb5a
parent53c2727aaf0ffbc052a50c80931b40cf5eb8ee65 (diff)
downloadzlib-9e058e844334a6f9289bf6e6650ca46d4a3e2ce9.tar.gz
zlib-9e058e844334a6f9289bf6e6650ca46d4a3e2ce9.tar.bz2
zlib-9e058e844334a6f9289bf6e6650ca46d4a3e2ce9.zip
CMake: Add option for ZLIB_PREFIX.
-rw-r--r--CMakeLists.txt4
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)
8option(ZLIB_BUILD_SHARED "Enable building zlib shared library" ON) 8option(ZLIB_BUILD_SHARED "Enable building zlib shared library" ON)
9option(ZLIB_BUILD_STATIC "Enable building zlib static library" ON) 9option(ZLIB_BUILD_STATIC "Enable building zlib static library" ON)
10option(ZLIB_INSTALL_LIBRARIES "Enable installation of zlib" ON) 10option(ZLIB_INSTALL_LIBRARIES "Enable installation of zlib" ON)
11option(ZLIB_PREFIX
12 "prefix for all types and library functions, see zconf.h.in"
13 OFF)
14mark_as_advanced(ZLIB_PREFIX)
11 15
12if(WIN32) 16if(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)