GreatSQL/GreatSQL
extra/protobuf/protobuf-3.19.4/cmake/CMakeLists.txt
:159
add_definitions(-DHAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
target_compile_definitions("${target}" PRIVATE -DHAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
check_symbol_exists(compress2 zlib.h HAVE_ZLIB)
unset(HAVE_ZLIB CACHE)
add_definitions(-DHAVE_ZLIB)
endif (HAVE_ZLIB)
target_compile_definitions(tinyexr-impl PRIVATE HAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
endif (HAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
list(APPEND MINIZIP_DEF "-DHAVE_ZLIB")
target_compile_definitions("${target}" PRIVATE -DHAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
endif (HAVE_ZLIB)
target_compile_definitions(pull
PRIVATE
$<$<BOOL:${ENABLE_COMPRESSION}>:HAVE_ZLIB>
)
target_compile_definitions("${target}" PRIVATE -DHAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
endif (HAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
target_compile_definitions(mmseqs-framework PUBLIC -DHAVE_ZLIB=1 -DHAVE_BZLIB=1)
target_compile_definitions(mmseqs-framework PUBLIC -DHAVE_ZLIB=1)
target_compile_definitions(pull
PRIVATE
$<$<BOOL:${ENABLE_COMPRESSION}>:HAVE_ZLIB>
)
add_definitions(-DHAVE_ZLIB)
target_compile_definitions("${target}" PRIVATE -DHAVE_ZLIB)
target_compile_definitions(libtelnet PUBLIC HAVE_ZLIB)
target_compile_definitions(gl2ps
PRIVATE
HAVE_ZLIB
HAVE_PNG)
add_definitions(-DHAVE_ZLIB)
endif (HAVE_ZLIB)
set_target_properties(MiKTeX::Imported::ZLIB
PROPERTIES
IMPORTED_LOCATION "${ZLIB_LIBRARY}"
INTERFACE_COMPILE_DEFINITIONS "HAVE_LIBZ=1;HAVE_ZLIB=1;HAVE_ZLIB_H=1;HAVE_ZLIB_COMPRESS2=1"
INTERFACE_INCLUDE_DIRECTORIES "${ZLIB_INCLUDE_DIRS}"
)
check_symbol_exists(compress2 zlib.h HAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
list(APPEND MINIZIP_DEF "-DHAVE_ZLIB")
target_compile_definitions(Codec_STBI PRIVATE HAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
endif (HAVE_ZLIB)
add_definitions(-DHAVE_ZLIB)
list(APPEND MINIZIP_DEF "-DHAVE_ZLIB")
message(STATUS "summary of build options:
Package version: ${VERSION}
Library version: ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}
Install prefix: ${CMAKE_INSTALL_PREFIX}
Target system: ${CMAKE_SYSTEM_NAME}
Compiler:
Build type: ${CMAKE_BUILD_TYPE}
C compiler: ${CMAKE_C_COMPILER}
CFLAGS: ${CMAKE_C_FLAGS_${_build_type}} ${CMAKE_C_FLAGS}
C++ compiler: ${CMAKE_CXX_COMPILER}
CXXFLAGS: ${CMAKE_CXX_FLAGS_${_build_type}} ${CMAKE_CXX_FLAGS}
WARNCFLAGS: ${WARNCFLAGS}
CXX1XCXXFLAGS: ${CXX1XCXXFLAGS}
WARNCXXFLAGS: ${WARNCXXFLAGS}
Python:
Python: ${Python3_EXECUTABLE}
Python3_VERSION: ${Python3_VERSION}
Test:
Failmalloc: ${ENABLE_FAILMALLOC}
Build Test: ${BUILD_TESTING}
Libs:
OpenSSL: ${HAVE_OPENSSL} (LIBS='${OPENSSL_LIBRARIES}')
wolfSSL: ${HAVE_WOLFSSL} (LIBS='${WOLFSSL_LIBRARIES}')
Libxml2: ${HAVE_LIBXML2} (LIBS='${LIBXML2_LIBRARIES}')
Libev: ${HAVE_LIBEV} (LIBS='${LIBEV_LIBRARIES}')
Libc-ares: ${HAVE_LIBCARES} (LIBS='${LIBCARES_LIBRARIES}')
Libngtcp2: ${HAVE_LIBNGTCP2} (LIBS='${LIBNGTCP2_LIBRARIES}')
Libngtcp2_crypto_quictls: ${HAVE_LIBNGTCP2_CRYPTO_QUICTLS} (LIBS='${LIBNGTCP2_CRYPTO_QUICTLS_LIBRARIES}')
Libngtcp2_crypto_wolfssl: ${HAVE_LIBNGTCP2_CRYPTO_WOLFSSL} (LIBS='${LIBNGTCP2_CRYPTO_WOLFSSL_LIBRARIES}')
Libnghttp3: ${HAVE_LIBNGHTTP3} (LIBS='${LIBNGHTTP3_LIBRARIES}')
Libbpf: ${HAVE_LIBBPF} (LIBS='${LIBBPF_LIBRARIES}')
Libevent(SSL): ${HAVE_LIBEVENT_OPENSSL} (LIBS='${LIBEVENT_OPENSSL_LIBRARIES}')
Jansson: ${HAVE_JANSSON} (LIBS='${JANSSON_LIBRARIES}')
Jemalloc: ${HAVE_JEMALLOC} (LIBS='${JEMALLOC_LIBRARIES}')
Zlib: ${HAVE_ZLIB} (LIBS='${ZLIB_LIBRARIES}')
Systemd: ${HAVE_SYSTEMD} (LIBS='${SYSTEMD_LIBRARIES}')
Libbrotlienc: ${HAVE_LIBBROTLIENC} (LIBS='${LIBBROTLIENC_LIBRARIES}')
Libbrotlidec: ${HAVE_LIBBROTLIDEC} (LIBS='${LIBBROTLIDEC_LIBRARIES}')
Third-party:
http-parser: ${ENABLE_THIRD_PARTY}
MRuby: ${HAVE_MRUBY}
Neverbleed: ${HAVE_NEVERBLEED}
Features:
Applications: ${ENABLE_APP}
HPACK tools: ${ENABLE_HPACK_TOOLS}
Examples: ${ENABLE_EXAMPLES}
Threading: ${ENABLE_THREADS}
HTTP/3(EXPERIMENTAL): ${ENABLE_HTTP3}
")
target_compile_definitions(
unarr PRIVATE HAVE_ZLIB $<$<BOOL:${USE_ZLIB_CRC}>:USE_ZLIB_CRC>)
target_compile_definitions("${target}" PRIVATE -DHAVE_ZLIB)
check_symbol_exists(compress2 zlib.h HAVE_ZLIB)
unset(HAVE_ZLIB)
add_feature_info("ZLIB decoding" HAVE_ZLIB "used for DNG Deflate compression decoding")
add_definitions(-DHAVE_ZLIB)
endif (HAVE_ZLIB)
target_compile_definitions("${target}" PRIVATE -DHAVE_ZLIB)
target_compile_definitions("${target}" PRIVATE -DHAVE_ZLIB)