Skip to content

Commit

Permalink
Include directory path added for Zipkin exporter example (#2069)
Browse files Browse the repository at this point in the history
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
  • Loading branch information
cngzhnp and lalitb authored Mar 23, 2023
1 parent 2b2fe44 commit fb3bcb5
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 fb3bcb5

Please sign in to comment.