-
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
build release tarball when nlohmann-json not installed #1074
build release tarball when nlohmann-json not installed #1074
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1074 +/- ##
=======================================
Coverage 94.41% 94.41%
=======================================
Files 158 158
Lines 6077 6077
=======================================
Hits 5737 5737
Misses 340 340 |
exporters/otlp/CMakeLists.txt
Outdated
if(nlohmann_json_clone) | ||
add_dependencies(opentelemetry_exporter_otlp_http_client | ||
nlohmann_json::nlohmann_json) | ||
list(APPEND OPENTELEMETRY_OTLP_TARGETS nlohmann_json_) |
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.
Why is this step required?
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.
it's needed for install. nlohmann_json::nlohmann_json
is an alias for nlohmann_json_
here.
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.
ok, thanks. Should that be an install target for Zipkin and ETW too, or else just have it in cmake/nlohmann-json.cmake
?
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.
good idea. done
Fixes #981 (issue)
Changes
Please provide a brief description of the changes here.
clones nlohmann-json if not present in third_party folder.
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes