```console
+ /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S . -D MZ_BUILD_TESTS=ON -D MZ_BUILD_UNIT_TESTS=ON -D MZ_BZIP2=ON -D MZ_COMPAT=ON -D MZ_FORCE_FETCH_LIBS=OFF -D MZ_LIBBSD=OFF -D MZ_LZMA=ON -D MZ_OPENSSL=ON -D MZ_PKCRYPT=ON -D MZ_WZAES=ON -D MZ_ZLIB=ON -D MZ_ZSTD=ON
-- The C compiler identification is GNU 13.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Using CMake version 3.26.3
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of off64_t
-- Check size of off64_t - failed
-- Looking for fseeko
-- Looking for fseeko - found
-- ZLIB library not found
-- Using BZIP2 1.0.8
-- Checking for module 'liblzma'
-- Found liblzma, version 5.4.2
-- Using LZMA 5.4.2
-- Checking for module 'libzstd'
-- Found libzstd, version 1.5.5
-- Using ZSTD 1.5.5
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.4")
-- Checking for module 'openssl'
-- Found openssl, version 3.0.5
-- Using OpenSSL 3.0.5
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Using Iconv
-- The CXX compiler identification is GNU 13.0.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The following features have been enabled:
* MZ_COMPAT, Enables compatibility layer
* MZ_BZIP2, Enables BZIP2 compression
* MZ_LZMA, Enables LZMA & XZ compression
* MZ_ZSTD, Enables ZSTD compression
* MZ_PKCRYPT, Enables PKWARE traditional encryption
* MZ_WZAES, Enables WinZIP AES encryption
* MZ_OPENSSL, Enables OpenSSL for encryption
* MZ_ICONV, Enables iconv string encoding conversion library
* MZ_BUILD_TESTS, Builds minizip test executable
* MZ_BUILD_UNIT_TESTS, Builds minizip unit test project
-- The following features have been disabled:
* MZ_ZLIB, Enables ZLIB compression
* MZ_LIBCOMP, Enables Apple compression
* MZ_FETCH_LIBS, Enables fetching third-party libraries if not found
* MZ_FORCE_FETCH_LIBS, Enables fetching third-party libraries always
* MZ_BCRYPT, Enables Win32 Crypto API Next Generation (CNG)
* MZ_LIBBSD, Builds with libbsd crypto random
* MZ_SIGNING, Enables zip signing support
* MZ_COMPRESS_ONLY, Only support compression
* MZ_DECOMPRESS_ONLY, Only support decompression
* MZ_FILE32_API, Builds using posix 32-bit file api
* MZ_BUILD_FUZZ_TESTS, Builds minizip fuzzer executables
* MZ_CODE_COVERAGE, Builds with code coverage flags
-- Configuring done (2.8s)
-- Generating done (0.0s)
```
I'm usimg off-tree cmake buid (
cmake -B <directory>
). cmake output: