raulcd commented on code in PR #13547:
URL: https://github.com/apache/arrow/pull/13547#discussion_r916745101


##########
cpp/src/arrow/flight/sql/CMakeLists.txt:
##########
@@ -117,10 +117,4 @@ if(ARROW_BUILD_TESTS OR ARROW_BUILD_EXAMPLES)
   add_executable(flight-sql-test-app test_app_cli.cc)
   target_link_libraries(flight-sql-test-app PRIVATE 
${ARROW_FLIGHT_SQL_TEST_LINK_LIBS}
                                                     ${GFLAGS_LIBRARIES})
-
-  if(ARROW_FLIGHT_TEST_LINKAGE STREQUAL "static" AND ARROW_BUILD_STATIC)
-    target_compile_definitions(flight_sql_test

Review Comment:
   it does fail on that case:
   ```
   CMake Error at src/arrow/flight/sql/CMakeLists.txt:122 
(target_compile_definitions):
     target_compile_definitions called with invalid arguments
   ```
   with:
   ```
     if(ARROW_FLIGHT_TEST_LINKAGE STREQUAL "static" AND ARROW_BUILD_STATIC)
       target_compile_definitions(arrow-flight-sql-test
                                  flight-sql-test-server flight-sql-test-app
                                  PUBLIC ARROW_FLIGHT_STATIC 
ARROW_FLIGHT_SQL_STATIC)
     endif()
   ```



-- 
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]

Reply via email to