From 1c5563bafcc28320b957ee502e87c3d84fd6c9a1 Mon Sep 17 00:00:00 2001 From: Jia Ke Date: Mon, 31 Jul 2023 11:20:55 +0000 Subject: [PATCH] fix the compile issue --- third_party/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt index af8b376fa1df..bde1ce93f6d1 100644 --- a/third_party/CMakeLists.txt +++ b/third_party/CMakeLists.txt @@ -39,7 +39,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} + -DSnappy_SOURCE=AUTO) set(ARROW_LIBDIR ${ARROW_PREFIX}/install/${CMAKE_INSTALL_LIBDIR}) add_library(thrift STATIC IMPORTED GLOBAL)