Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
meastp authored Dec 28, 2023
1 parent dc293f4 commit 87d1756
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/multi_processor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ target_link_libraries(example_multi_processor ${CMAKE_THREAD_LIBS_INIT}
common_foo_library)

if(DEFINED OPENTELEMETRY_BUILD_DLL)
target_link_libraries(example_simple opentelemetry_cpp)
target_link_libraries(example_multi_processor opentelemetry_cpp)
else()
target_link_libraries(example_multi_processor opentelemetry_trace
opentelemetry_exporter_ostream_span
opentelemetry_exporter_in_memory)
target_link_libraries(
example_multi_processor opentelemetry_trace
opentelemetry_exporter_ostream_span opentelemetry_exporter_in_memory)
endif()

0 comments on commit 87d1756

Please sign in to comment.