Skip to content

Commit

Permalink
Merge pull request grpc#20630 from KyleFromKitware/cares-root-dir
Browse files Browse the repository at this point in the history
Honor CARES_ROOT_DIR
  • Loading branch information
jtattermusch authored Oct 22, 2019
2 parents 334c826 + 5f4b8c3 commit 974fdc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/cares.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if("${gRPC_CARES_PROVIDER}" STREQUAL "module")
# See https://github.com/grpc/grpc/issues/17255
set(HAVE_LIBNSL OFF CACHE BOOL "avoid cares dependency on libnsl")
endif()
add_subdirectory(third_party/cares/cares)
add_subdirectory("${CARES_ROOT_DIR}" third_party/cares/cares)

if(TARGET c-ares)
set(_gRPC_CARES_LIBRARIES c-ares)
Expand Down

0 comments on commit 974fdc4

Please sign in to comment.