lidavidm commented on a change in pull request #12354:
URL: https://github.com/apache/arrow/pull/12354#discussion_r802811682
##########
File path: cpp/examples/arrow/CMakeLists.txt
##########
@@ -84,6 +84,24 @@ if(ARROW_FLIGHT)
EXTRA_SOURCES
"${CMAKE_CURRENT_BINARY_DIR}/helloworld.pb.cc"
"${CMAKE_CURRENT_BINARY_DIR}/helloworld.grpc.pb.cc")
+
+ if(ARROW_FLIGHT_SQL)
+ if(ARROW_GRPC_USE_SHARED)
+ set(FLIGHT_SQL_EXAMPLES_LINK_LIBS arrow_flight_sql_shared)
+ else()
+ set(FLIGHT_SQL_EXAMPLES_LINK_LIBS arrow_flight_sql_static)
+ endif()
+
+ add_arrow_example(flight_sql_example
Review comment:
I filed ARROW-15625.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]