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