mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
Update the logic to find gRPC to always favor CMake `find_package` implementation including for builds on macOS that uses homebrew, where gRPCConfig.cmake is also installed to provide an accurate target dependencies to link against. This fixes the problem that newer gRPC version has broken up the libraries into smaller pieces and the hard coded list of libraries in the implementation can no longer work. Fixes: https://github.com/llvm/llvm-project/issues/59844