From b0e762885d54f42737981208f9a338a639e27bc3 Mon Sep 17 00:00:00 2001 From: Minglei Jin Date: Wed, 23 Oct 2024 16:46:44 +0800 Subject: [PATCH] fix(ablob/_azure_sdk): build sdk under linux and s3 only --- contrib/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index d6ae5497f1..2a7bf84245 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -615,10 +615,9 @@ if (${BUILD_PCRE2}) add_subdirectory(pcre2 EXCLUDE_FROM_ALL) endif(${BUILD_PCRE2}) - -if(${TD_LINUX}) +if(${TD_LINUX} AND ${BUILD_WITH_S3}) add_subdirectory(azure-cmake EXCLUDE_FROM_ALL) -endif(${TD_LINUX}) +endif() # ================================================================================================ # Build test