mirror of https://github.com/grpc/grpc.git
[Build] fix `gRPCConfig.cmake` (#33361)
Without this change, calling `find_package(gRPC REQUIRED)` errors out with CMake Error at /opt/homebrew/lib/cmake/grpc/gRPCConfig.cmake:8 (find_dependency): Unknown CMake command "find_dependency". The issue is that `find_dependency` is provided by the `CMakeFindDependencyMacro` module[^1], so we need to `include` it before use. [^1]: https://cmake.org/cmake/help/v3.26/module/CMakeFindDependencyMacro.htmlpull/34221/head
parent
b7e680ad46
commit
5c9e4050c1
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue