Skip build aws sdk when not need diskann (#19965) (#19966)

Signed-off-by: zhagnlu <lu.zhang@zilliz.com>

Signed-off-by: zhagnlu <lu.zhang@zilliz.com>
Co-authored-by: zhagnlu <lu.zhang@zilliz.com>
This commit is contained in:
zhagnlu 2022-10-21 18:35:29 +08:00 committed by GitHub
parent fb02930be5
commit 05bbb12d30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()