lidavidm commented on a change in pull request #12354:
URL: https://github.com/apache/arrow/pull/12354#discussion_r802810013
##########
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:
Hmm, seems originally file names and executable names used hyphens, then
file names were switched to underscores. We can file an issue to do the
conversion, since none of the examples or other executables follow this
convention right now.
--
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]