Skip to content

Commit

Permalink
Add comment + check for only link OpenSSL with flight on APPLE
Browse files Browse the repository at this point in the history
  • Loading branch information
raulcd committed Aug 29, 2024
1 parent 47df184 commit 2a2052e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cpp/src/arrow/flight/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ endif()
if(WIN32)
list(APPEND ARROW_FLIGHT_LINK_LIBS ws2_32.lib)
endif()
if(ARROW_USE_OPENSSL)
# Updating the MACOSX_DEPLOYMENT_TARGET to 12 required us to explicitly
# link Flight with OpenSSL on macOS. Read this comment for more details:
# https://github.com/apache/arrow/pull/43137#pullrequestreview-2267476893
if(APPLE AND ARROW_USE_OPENSSL)
list(APPEND ARROW_FLIGHT_LINK_LIBS ${ARROW_OPENSSL_LIBS})
endif()

Expand Down

0 comments on commit 2a2052e

Please sign in to comment.