mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
Make sure to add gRPC include directory
This commit is contained in:
1 parent
7e8641887f
commit
33e1282ccd
1 file changed
+2
-1
@@ -1243,7 +1243,6 @@ if (ARROW_FLIGHT)
|
||||
${EP_LOG_OPTIONS}
|
||||
CMAKE_ARGS ${GRPC_CMAKE_ARGS}
|
||||
${EP_LOG_OPTIONS})
|
||||
include_directories(SYSTEM ${GRPC_INCLUDE_DIR})
|
||||
|
||||
get_property(GPR_STATIC_LIB TARGET gRPC::gpr PROPERTY LOCATION)
|
||||
get_property(GRPC_STATIC_LIB TARGET gRPC::grpc_unsecure PROPERTY LOCATION)
|
||||
@@ -1269,6 +1268,8 @@ if (ARROW_FLIGHT)
|
||||
message(SEND_ERROR "Please set GRPC_CPP_PLUGIN.")
|
||||
endif()
|
||||
|
||||
include_directories(SYSTEM ${GRPC_INCLUDE_DIR})
|
||||
|
||||
ADD_THIRDPARTY_LIB(grpc_gpr
|
||||
STATIC_LIB ${GPR_STATIC_LIB})
|
||||
|
||||
|
||||
Reference in new issue
Block a user