1
0
mirror of https://github.com/madler/zlib synced 2025-03-28 21:13:15 +00:00

CMake: Add option for ZLIB_PREFIX.

This commit is contained in:
Vollstrecker 2024-12-07 17:20:40 +01:00 committed by Mark Adler
parent 53c2727aaf
commit 9e058e8443

View File

@ -8,6 +8,10 @@ option(ZLIB_BUILD_TESTING "Enable Zlib Examples as tests" ON)
option(ZLIB_BUILD_SHARED "Enable building zlib shared library" ON)
option(ZLIB_BUILD_STATIC "Enable building zlib static library" ON)
option(ZLIB_INSTALL_LIBRARIES "Enable installation of zlib" ON)
option(ZLIB_PREFIX
"prefix for all types and library functions, see zconf.h.in"
OFF)
mark_as_advanced(ZLIB_PREFIX)
if(WIN32)
option(ZLIB_INSTALL_COMPAT_DLL "Install a copy as zlib1.dll" ON)