-
Notifications
You must be signed in to change notification settings - Fork 501
[BUILD] Remove WITH_ABSEIL
#3318
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
Changes from 6 commits
dc484c3
30a5611
f568ef0
45186aa
4f91b94
2d35c25
3eb90b7
d8f8163
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,8 +188,6 @@ set(WITH_STL | |
option(WITH_GSL | ||
"Whether to use Guidelines Support Library for C++ latest features" OFF) | ||
|
||
option(WITH_ABSEIL "Whether to use Abseil for C++latest features" OFF) | ||
|
||
set(OPENTELEMETRY_INSTALL_default ON) | ||
if(NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) | ||
set(OPENTELEMETRY_INSTALL_default OFF) | ||
|
@@ -400,10 +398,8 @@ if(WITH_PROMETHEUS) | |
endif() | ||
endif() | ||
|
||
if(WITH_ABSEIL) | ||
if(NOT TARGET absl::strings) | ||
find_package(absl CONFIG REQUIRED) | ||
endif() | ||
if(WITH_OTLP_GRPC) | ||
find_package(absl CONFIG REQUIRED) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is absl only required for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. otel-cpp's API no longer depends on abseil-cpp's headers, eliminating path conflicts between internal and external versions of abseil-cpp. Some components use protobuf, which may include abseil-cpp headers with overlapping paths from the internal version. This necessitates abseil-cpp when using a newer version of protobuf. The protobuf package file automatically calls |
||
endif() | ||
|
||
if(WITH_OTLP_GRPC | ||
|
Uh oh!
There was an error while loading. Please reload this page.