Skip to content

Commit

Permalink
Fix grpc_cpp_plugin executable import (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
seemk authored Jan 21, 2021
1 parent c4df3bf commit a9ca938
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmake/opentelemetry-proto.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ foreach(IMPORT_DIR ${PROTOBUF_IMPORT_DIRS})
list(APPEND PROTOBUF_INCLUDE_FLAGS "-I${IMPORT_DIR}")
endforeach()

get_target_property(gRPC_CPP_PLUGIN_EXECUTABLE gRPC::grpc_cpp_plugin
IMPORTED_LOCATION_RELEASE)
set(gRPC_CPP_PLUGIN_EXECUTABLE $<TARGET_FILE:gRPC::grpc_cpp_plugin>)

add_custom_command(
OUTPUT ${COMMON_PB_H_FILE}
Expand Down

0 comments on commit a9ca938

Please sign in to comment.