mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-08-03 15:32:50 +02:00
14 lines
520 B
CMake
14 lines
520 B
CMake
# Copyright The OpenTelemetry Authors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if(WITH_OTLP_GRPC)
|
|
add_executable(func_otlp_grpc func_grpc_main.cc)
|
|
target_link_libraries(func_otlp_grpc ${CMAKE_THREAD_LIBS_INIT}
|
|
opentelemetry_trace opentelemetry_exporter_otlp_grpc)
|
|
endif()
|
|
|
|
if(WITH_OTLP_HTTP)
|
|
add_executable(func_otlp_http func_http_main.cc)
|
|
target_link_libraries(func_otlp_http ${CMAKE_THREAD_LIBS_INIT}
|
|
opentelemetry_trace opentelemetry_exporter_otlp_http)
|
|
endif()
|