Skip to content

Commit d28e054

Browse files
committed
Properly link to C gRPC
Needed to compile on the latest gRPC
1 parent 9dab259 commit d28e054

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

occ/protos/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ set(PROTO_IMPORT_DIR "${CMAKE_CURRENT_LIST_DIR}")
2727
file(MAKE_DIRECTORY ${PROTO_GENERATED_DIR})
2828

2929
add_library(Occ-proto OBJECT "${CMAKE_CURRENT_LIST_DIR}/occ.proto")
30-
target_link_libraries(Occ-proto PUBLIC
31-
protobuf::libprotobuf
30+
target_link_libraries(Occ-proto PUBLIC
31+
protobuf::libprotobuf
32+
gRPC::grpc
3233
gRPC::grpc++
3334
gRPC::grpc++_reflection
3435
)

0 commit comments

Comments
 (0)