fix(ablob/_azure_sdk): build sdk under linux and s3 only

This commit is contained in:
Minglei Jin 2024-10-23 16:46:44 +08:00
parent 3fd1ad6e82
commit b0e762885d
1 changed files with 2 additions and 3 deletions

View File

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