mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-12-06 02:30:36 -08:00
include the otel header-only part directly for ease of use
This commit is contained in:
parent
8895ad182f
commit
7f835b414a
241 changed files with 49967 additions and 3 deletions
|
|
@ -316,8 +316,11 @@ OTEL_VERSION=1.21.0
|
|||
ifeq (${ZT_OTEL},1)
|
||||
OTEL_INSTALL_DIR=ext/opentelemetry-cpp-${OTEL_VERSION}/localinstall
|
||||
DEFS+=-DZT_OTEL
|
||||
INCLUDES+=-I${OTEL_INSTALL_DIR}/include -Iext/opentelemetry-cpp/exporters/otlp/include
|
||||
INCLUDES+=-I${OTEL_INSTALL_DIR}/include
|
||||
LDLIBS+=-L${OTEL_INSTALL_DIR}/lib -lopentelemetry_exporter_in_memory_metric -lopentelemetry_exporter_in_memory -lopentelemetry_exporter_ostream_logs -lopentelemetry_exporter_ostream_metrics -lopentelemetry_exporter_ostream_span -lopentelemetry_trace -lopentelemetry_common -lopentelemetry_resources -lopentelemetry_logs -lopentelemetry_metrics -lopentelemetry_version
|
||||
else
|
||||
OTEL_INSTALL_DIR=ext/opentelemetry-cpp-api-only/localinstall
|
||||
INCLUDES+=-I${OTEL_INSTALL_DIR}/include
|
||||
endif
|
||||
|
||||
# Disable software updates by default on Linux since that is normally done with package management
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue