Skip to content

Commit

Permalink
ARROW-13556: [C++] Add protobuf to linking for flight
Browse files Browse the repository at this point in the history
Closes #10873 from n3world/ARROW-13556_link_protobuf

Authored-by: Nate Clark <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
n3world authored and kou committed Aug 4, 2021
1 parent 9ec77d4 commit fab0d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/flight/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ add_custom_target(arrow_flight)

arrow_install_all_headers("arrow/flight")

set(ARROW_FLIGHT_LINK_LIBS gRPC::grpc++)
set(ARROW_FLIGHT_LINK_LIBS gRPC::grpc++ ${ARROW_PROTOBUF_LIBPROTOBUF})

if(WIN32)
list(APPEND ARROW_FLIGHT_LINK_LIBS ws2_32.lib)
Expand Down

0 comments on commit fab0d70

Please sign in to comment.