Lines Matching full:zlib
15 # The CMakeLists.txt for zlib doesn't propagate include directories
21 set(ZLIB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zlib)
24 # TODO(jtattermusch): workaround for https://github.com/madler/zlib/issues/218
26 add_subdirectory(${ZLIB_ROOT_DIR} third_party/zlib)
30 set(_gRPC_ZLIB_INCLUDE_DIR "${ZLIB_ROOT_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/third_party/zlib")
46 # zlib installation directory can be configured by setting ZLIB_ROOT
47 # We allow locating zlib using both "CONFIG" and "MODULE" as the expectation
48 # is that many Linux systems will have zlib installed via a distribution
50 # zlib using cmake ("CONFIG").
52 find_package(ZLIB REQUIRED)
54 if(TARGET ZLIB::ZLIB)
55 set(_gRPC_ZLIB_LIBRARIES ZLIB::ZLIB)
60 set(_gRPC_FIND_ZLIB "if(NOT ZLIB_FOUND)\n find_package(ZLIB)\nendif()")