You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2022/11/22 22:04:18 UTC
[arrow] branch master updated: MINOR: [C++] Fix CMake deps for minimal Flight benchmark build (#14700)
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 767f203dd1 MINOR: [C++] Fix CMake deps for minimal Flight benchmark build (#14700)
767f203dd1 is described below
commit 767f203dd1fb3d5d8684cae8ecf1a24d75f41a06
Author: David Li <li...@gmail.com>
AuthorDate: Tue Nov 22 17:04:11 2022 -0500
MINOR: [C++] Fix CMake deps for minimal Flight benchmark build (#14700)
Otherwise it errors if you try to just build the Flight benchmark
Authored-by: David Li <li...@gmail.com>
Signed-off-by: Sutou Kouhei <ko...@clear-code.com>
---
cpp/src/arrow/flight/CMakeLists.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cpp/src/arrow/flight/CMakeLists.txt b/cpp/src/arrow/flight/CMakeLists.txt
index 865fbc97e6..950f7d78a9 100644
--- a/cpp/src/arrow/flight/CMakeLists.txt
+++ b/cpp/src/arrow/flight/CMakeLists.txt
@@ -36,7 +36,9 @@ if(NOT ARROW_GRPC_USE_SHARED)
endif()
set(ARROW_FLIGHT_TEST_INTERFACE_LIBS)
-if(ARROW_BUILD_INTEGRATION OR ARROW_BUILD_TESTS)
+if(ARROW_BUILD_BENCHMARKS
+ OR ARROW_BUILD_INTEGRATION
+ OR ARROW_BUILD_TESTS)
if(ARROW_FLIGHT_TEST_LINKAGE STREQUAL "static")
if(NOT ARROW_BUILD_STATIC)
message(STATUS "If static Protobuf or gRPC are used, Arrow must be built statically"