-
Notifications
You must be signed in to change notification settings - Fork 423
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
Don't require applications using jaeger exporter to know about libcurl #1518
Conversation
|
Codecov Report
@@ Coverage Diff @@
## main #1518 +/- ##
==========================================
- Coverage 84.68% 84.61% -0.06%
==========================================
Files 155 155
Lines 4782 4782
==========================================
- Hits 4049 4046 -3
- Misses 733 736 +3
|
@astitcher thanks for the PR, could you please fix the format as explained here? |
Hmm, I didn't see anywhere there that referenced the cmake formatting spec or the tool to do it - can you be more specific? |
This part I mean:
so running |
Thanks - looks like I need to install cmake-format... |
For one file change, you may also try apply the diff mentioned int he build log (see below link) which should fix the format. |
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 for the PR :)
If we build |
Are you sure this is a problem? I built opentelemetry-cpp with the jaeger exporter as a static library on my Linux machine and CMake did the right thing (CMake is documented to treat static and shared transitive dependencies differently). |
You are right, sorry for my mistake and please ignore my reply. |
Fixes #1517
Changes
Changed link of libcurl (CMake CURL::libcurl) to opentelemetry_http_client_curl to be PRIVATE. This fixes the build issue for me on my Linux system using shared libraries, however I've not tested this anywhere else.