-
Notifications
You must be signed in to change notification settings - Fork 10.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing find_dependency()
when OTel plugin is enabled
#36624
Comments
Hmm, I don't understand. It's present at grpc/cmake/opentelemetry-cpp.cmake Line 42 in fb6a57b
and our example builds as well |
When somebody is trying to use an installed version gRPC the
That file should list all the dependencies for all the targets, but it does not:
|
Thanks for the details! @coryan |
…nfiguration (grpc#36674) Fix grpc#36624 Closes grpc#36674 COPYBARA_INTEGRATE_REVIEW=grpc#36674 from yashykt:OTelCMakeConfig 80366ae PiperOrigin-RevId: 635968262
…nfiguration (grpc#36674) Fix grpc#36624 Closes grpc#36674 COPYBARA_INTEGRATE_REVIEW=grpc#36674 from yashykt:OTelCMakeConfig 80366ae PiperOrigin-RevId: 635968262
…nfiguration (grpc#36674) Fix grpc#36624 Closes grpc#36674 COPYBARA_INTEGRATE_REVIEW=grpc#36674 from yashykt:OTelCMakeConfig 80366ae PiperOrigin-RevId: 635968262
What version of gRPC and what language are you using?
1.63.0, C++.
What operating system (Linux, Windows,...) and version?
Linux
What runtime / compiler are you using (e.g. python version or version of gcc)
Many, but let's say Clang 18 and GCC 14.
What did you do?
Compiled gRPC with:
Then try to use
find_package(gRPC CONFIG REQUIRED)
What did you expect to see?
The gRPC package successfully found.
What did you see instead?
I think the
grpCConfig.cmake
file is missing afind_dependency(opentelemetry-cpp)
when gRPC is compiled with the OTel plugin enabled.Anything else we should know about your project / environment?
You know where to find me.
The text was updated successfully, but these errors were encountered: