-
Notifications
You must be signed in to change notification settings - Fork 440
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
[INSTALL] Resolve dependencies in opentelemetry-cpp-config.cmake #3094
[INSTALL] Resolve dependencies in opentelemetry-cpp-config.cmake #3094
Conversation
Before this change, consumers of the exported CMake targets had to know which dependencies are needed to get the transitive target dependencies like `absl::*`, `gRPC::grpc++`, or `protobuf::libprotobuf`.
✅ Deploy Preview for opentelemetry-cpp-api-docs canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3094 +/- ##
==========================================
+ Coverage 87.12% 87.91% +0.79%
==========================================
Files 200 195 -5
Lines 6109 6133 +24
==========================================
+ Hits 5322 5391 +69
+ Misses 787 742 -45 |
|
What warnings? Calling |
I now realize that my earlier response might has come across as rude, which I did not intend.
May I humbly request that you take another look? |
Sorry, calling |
Now we also resolve `OpenTracing`, and `prometheus-cpp`. If necessary, `CURL` and `ZLIB` are also resolved.
Thanks for the heads-up! I added the rest. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
find_dependency(Threads) | ||
|
||
if(@WITH_ABSEIL@) | ||
find_dependency(absl) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I add absl
in #3041 , which alos consider protobuf's version and gRpc
Before this change, consumers of the exported CMake targets had to know which dependencies are needed to get the transitive target dependencies like
absl::*
,gRPC::grpc++
, orprotobuf::libprotobuf
.Fixes # (issue)
Changes
Please provide a brief description of the changes here.
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes