From 05bbb12d308463bd620f783f96ab817c7d24ffd7 Mon Sep 17 00:00:00 2001 From: zhagnlu <1542303831@qq.com> Date: Fri, 21 Oct 2022 18:35:29 +0800 Subject: [PATCH] Skip build aws sdk when not need diskann (#19965) (#19966) Signed-off-by: zhagnlu Signed-off-by: zhagnlu Co-authored-by: zhagnlu --- internal/core/thirdparty/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/core/thirdparty/CMakeLists.txt b/internal/core/thirdparty/CMakeLists.txt index 4d49f69af4..31fe6cfcdd 100644 --- a/internal/core/thirdparty/CMakeLists.txt +++ b/internal/core/thirdparty/CMakeLists.txt @@ -65,7 +65,7 @@ add_subdirectory( arrow ) add_subdirectory( rocksdb ) # ******************************* Thirdparty aws sdk ******************************** -if ( LINUX ) +if ( LINUX AND BUILD_DISK_ANN STREQUAL "ON" ) add_subdirectory( aws_sdk ) endif()