From ea34b7d80e3e9a83f38519fb24148c3a8fcaccfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Szab=C3=B3?= Date: Fri, 5 Jun 2026 20:46:40 +0200 Subject: [PATCH] Update CMake config to also use find module for c-ares D93368374 reverted D81248145 to use the find module for c-ares vendored in fbcode_builder instead of c-ares' own CMake config which may be absent when building against system c-ares on older installs (e.g. Ubuntu Jammy). Do the same for proxygen's CMake config so that projects that depend on proxygen also build against system c-ares in such environments. --- cmake/proxygen-config.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/proxygen-config.cmake.in b/cmake/proxygen-config.cmake.in index bf1c50880b..c8af298b56 100644 --- a/cmake/proxygen-config.cmake.in +++ b/cmake/proxygen-config.cmake.in @@ -32,7 +32,7 @@ find_dependency(Fizz) find_dependency(ZLIB) find_dependency(OpenSSL) find_dependency(Threads) -find_dependency(c-ares REQUIRED) +find_dependency(Cares REQUIRED) if(NOT TARGET proxygen::proxygen) include("${CMAKE_CURRENT_LIST_DIR}/proxygen-targets.cmake")