From 81b2d9f01e04ba60f88f227d3c37aea1ab13069c Mon Sep 17 00:00:00 2001 From: zhiru Date: Fri, 14 Jun 2019 19:10:15 +0800 Subject: [PATCH] cmake: add arrow, jemalloc and jsoncons third party; default build option OFF Former-commit-id: 55cfc9b7ac2aa94fab0b6978bfd2d65afaf7de3f --- cpp/src/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpp/src/CMakeLists.txt b/cpp/src/CMakeLists.txt index ac5644dda8..a26ba876d6 100644 --- a/cpp/src/CMakeLists.txt +++ b/cpp/src/CMakeLists.txt @@ -58,7 +58,7 @@ include_directories("${CUDA_TOOLKIT_ROOT_DIR}/include") include_directories(thrift/gen-cpp) set(third_party_libs - arrow + #arrow easyloggingpp sqlite thrift @@ -79,6 +79,9 @@ set(third_party_libs zstd ${CUDA_TOOLKIT_ROOT_DIR}/lib64/stubs/libnvidia-ml.so ) +if (MEGASEARCH_WITH_ARROW STREQUAL "ON") + set(third_party_libs ${third_party_libs} arrow) +endif() if (GPU_VERSION STREQUAL "ON") link_directories("${CUDA_TOOLKIT_ROOT_DIR}/lib64")