mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 00:56:31 +08:00
Properly depend on Protobuf for Flight protos
This commit is contained in:
1 parent
1eed959c46
commit
38a219aaed
1 file changed
+1
-5
@@ -38,11 +38,7 @@ set(FLIGHT_GENERATED_PROTO_FILES
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/Flight.grpc.pb.cc"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/Flight.grpc.pb.h")
|
||||
|
||||
if(PROTOBUF_VENDORED)
|
||||
set(PROTO_DEPENDS ${FLIGHT_PROTO} protobuf)
|
||||
else()
|
||||
set(PROTO_DEPENDS ${FLIGHT_PROTO})
|
||||
endif()
|
||||
set(PROTO_DEPENDS ${FLIGHT_PROTO} ${PROTOBUF_LIBRARY})
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT ${FLIGHT_GENERATED_PROTO_FILES}
|
||||
|
||||
Reference in new issue
Block a user