Skip to content

Commit

Permalink
[native] Include FBTHRIFT system path in CMakeList.txt
Browse files Browse the repository at this point in the history
Explicitly include the path of FBTHRIFT on local system
in native's CMakeList.txt. This is to handle the link failure
of FBTHRIFT that occured from time to time on M1.
  • Loading branch information
gggrace14 committed Nov 15, 2022
1 parent ac56a5a commit 0fd614b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions presto-native-execution/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ find_library(WANGLE wangle)

find_library(RE2 re2)

find_package(FBTHRIFT)
include_directories(SYSTEM ${FBTHRIFT_INCLUDE_DIR})

set(PROXYGEN_LIBRARIES ${PROXYGEN_HTTP_SERVER} ${PROXYGEN} ${WANGLE} ${FIZZ})
find_path(PROXYGEN_DIR NAMES include/proxygen)
set(PROXYGEN_INCLUDE_DIR "${PROXYGEN_DIR}/include/proxygen")
Expand Down

0 comments on commit 0fd614b

Please sign in to comment.