We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 802d89f commit 64c5f31Copy full SHA for 64c5f31
cmake/cares.cmake
@@ -18,6 +18,10 @@ if("${gRPC_CARES_PROVIDER}" STREQUAL "module")
18
endif()
19
set(CARES_SHARED OFF CACHE BOOL "disable shared library")
20
set(CARES_STATIC ON CACHE BOOL "link cares statically")
21
+ if(gRPC_BACKWARDS_COMPATIBILITY_MODE)
22
+ # See https://github.com/grpc/grpc/issues/17255
23
+ set(HAVE_LIBNSL OFF CACHE BOOL "avoid cares dependency on libnsl")
24
+ endif()
25
add_subdirectory(third_party/cares/cares)
26
27
if(TARGET c-ares)
0 commit comments