Skip to content

Commit

Permalink
Possible fix for ARROW-16919
Browse files Browse the repository at this point in the history
  • Loading branch information
lidavidm committed Jul 19, 2022
1 parent 1b3497f commit 24eaf18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/flight/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ if(ARROW_BUILD_INTEGRATION OR ARROW_BUILD_TESTS)
message(FATAL_ERROR "Must build Arrow statically to link Flight tests statically")
endif()
set(ARROW_FLIGHT_TEST_LINK_LIBS arrow_flight_static arrow_flight_testing_static)
list(APPEND ARROW_FLIGHT_TEST_LINK_LIBS ${ARROW_TEST_LINK_LIBS})
list(APPEND ARROW_FLIGHT_TEST_LINK_LIBS ${ARROW_TEST_STATIC_LINK_LIBS})
if(ARROW_CUDA)
list(APPEND ARROW_FLIGHT_TEST_INTERFACE_LIBS arrow_cuda_static)
list(APPEND ARROW_FLIGHT_TEST_LINK_LIBS arrow_cuda_static)
endif()
else()
set(ARROW_FLIGHT_TEST_LINK_LIBS arrow_flight_shared arrow_flight_testing_shared
${ARROW_TEST_LINK_LIBS})
${ARROW_TEST_SHARED_LINK_LIBS})
if(ARROW_CUDA)
list(APPEND ARROW_FLIGHT_TEST_INTERFACE_LIBS arrow_cuda_shared)
list(APPEND ARROW_FLIGHT_TEST_LINK_LIBS arrow_cuda_shared)
Expand Down

0 comments on commit 24eaf18

Please sign in to comment.