Skip to content

Commit

Permalink
Include directory path added for Zipkin exporter example
Browse files Browse the repository at this point in the history
  • Loading branch information
cngzhnp committed Mar 23, 2023
1 parent 3a09d53 commit f646244
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions exporters/zipkin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ add_library(
opentelemetry_exporter_zipkin_trace
src/zipkin_exporter.cc src/zipkin_exporter_factory.cc src/recordable.cc)

target_include_directories(
opentelemetry_exporter_zipkin_trace
PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include>"
"$<INSTALL_INTERFACE:include>")

target_link_libraries(
opentelemetry_exporter_zipkin_trace
PUBLIC opentelemetry_trace opentelemetry_http_client_curl
Expand Down

0 comments on commit f646244

Please sign in to comment.