Skip to content

Commit

Permalink
Fix link order of grpc example
Browse files Browse the repository at this point in the history
Signed-off-by: owent <admin@owent.net>
  • Loading branch information
owent committed May 29, 2023
1 parent e9a7c47 commit a45451a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/grpc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ endif()

foreach(_target client server)
add_executable(${_target} "${_target}.cc")
target_link_libraries(
${_target} example_grpc_proto protobuf::libprotobuf gRPC::grpc++
opentelemetry_trace opentelemetry_exporter_ostream_span)
target_link_libraries(${_target} example_grpc_proto gRPC::grpc++
opentelemetry_trace opentelemetry_exporter_ostream_span)
patch_protobuf_targets(${_target})
endforeach()

0 comments on commit a45451a

Please sign in to comment.