Skip to content

Commit

Permalink
Pass CMAKE_PREFIX_PATH for Arrow third-party compilation (facebookinc…
Browse files Browse the repository at this point in the history
…ubator#9954)

Summary:
Passing CMAKE_PREFIX_PATH for Arrow third-party compilation could fix issues like facebookincubator#9953 .

Pull Request resolved: facebookincubator#9954

Reviewed By: bikramSingh91

Differential Revision: D59531818

Pulled By: pedroerp

fbshipit-source-id: 01932effbf97daeb05b52a5e88f1a657e7eba841
  • Loading branch information
JinHelin404 authored and facebook-github-bot committed Jul 10, 2024
1 parent ff27973 commit 319bc2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMake/resolve_dependency_modules/arrow/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ if(VELOX_ENABLE_ARROW)
-DCMAKE_INSTALL_PREFIX=${ARROW_PREFIX}/install
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DARROW_BUILD_STATIC=ON
-DThrift_SOURCE=${THRIFT_SOURCE})
-DThrift_SOURCE=${THRIFT_SOURCE}
-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH})
set(ARROW_LIBDIR ${ARROW_PREFIX}/install/${CMAKE_INSTALL_LIBDIR})

add_library(thrift STATIC IMPORTED GLOBAL)
Expand Down

0 comments on commit 319bc2c

Please sign in to comment.