Add force cache to gRPC_CARES_PROVIDER set

This commit is contained in:
Arthur Passos 2022-07-13 15:49:22 -03:00
parent 7f4043a3ed
commit a0055fc47a

View File

@ -49,7 +49,7 @@ set(gRPC_ABSL_PROVIDER "clickhouse" CACHE STRING "" FORCE)
set(gRPC_BUILD_CSHARP_EXT OFF)
set(_gRPC_CARES_LIBRARIES ch_contrib::c-ares)
set(gRPC_CARES_PROVIDER "DO NOT BUILD C-ARES")
set(gRPC_CARES_PROVIDER "clickhouse" CACHE STRING "" FORCE)
add_subdirectory("${_gRPC_SOURCE_DIR}" "${_gRPC_BINARY_DIR}")
# The contrib/grpc/CMakeLists.txt redefined the PROTOBUF_GENERATE_GRPC_CPP() function for its own purposes,