[native] Include FBTHRIFT system path in CMakeList.txt
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.
@@ -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")
