Skip to content

Commit

Permalink
[VL] Try to find arrow libs from Velox bundled path firstly
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE authored Jul 12, 2024
1 parent 2f35c63 commit 0697ed4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cpp/CMake/ConfigArrow.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ function(FIND_ARROW_LIB LIB_NAME)
find_library(
ARROW_LIB_${LIB_NAME}
NAMES ${ARROW_LIB_FULL_NAME}
PATHS ${ARROW_LIB_DIR} ${ARROW_LIB64_DIR})
PATHS ${ARROW_LIB_DIR} ${ARROW_LIB64_DIR}
NO_DEFAULT_PATH)
if(NOT ARROW_LIB_${LIB_NAME})
find_library(ARROW_LIB_${LIB_NAME} NAMES ${ARROW_LIB_FULL_NAME})
endif()
if(NOT ARROW_LIB_${LIB_NAME})
message(FATAL_ERROR "Arrow library Not Found: ${ARROW_LIB_FULL_NAME}")
endif()
Expand Down

0 comments on commit 0697ed4

Please sign in to comment.