Skip to content

Commit 56dfdeb

Browse files
lsk567claude
andcommitted
Disable c-ares tools to fix install error
The c-ares tools (ahost, adig, acountry) are not needed and cause install errors when the tools aren't built but the install script tries to install them. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 383f49e commit 56dfdeb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

third-party/grpc/grpc.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ function(add_grpc)
3232
set(gRPC_PROTOBUF_PROVIDER "package" CACHE STRING "" FORCE)
3333
set(gRPC_ZLIB_PROVIDER "package" CACHE STRING "" FORCE)
3434

35+
# Disable c-ares tools (ahost, adig, acountry) - not needed and causes install errors
36+
set(CARES_BUILD_TOOLS OFF CACHE BOOL "" FORCE)
37+
3538
FetchContent_Declare(
3639
gRPC
3740
GIT_REPOSITORY https://github.com/grpc/grpc

0 commit comments

Comments
 (0)