This is an automated email from the ASF dual-hosted git repository.

gavinchou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c24ec946a9 [Fix](build) fix cloud compilation on arm without AZURE 
(#39507)
5c24ec946a9 is described below

commit 5c24ec946a91caf8c8106028ef96b826946658ae
Author: zclllhhjj <zhaochan...@selectdb.com>
AuthorDate: Sat Aug 17 02:02:16 2024 +0800

    [Fix](build) fix cloud compilation on arm without AZURE (#39507)
    
    before it will fail, fixed it.
---
 cloud/cmake/thirdparty.cmake | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/cloud/cmake/thirdparty.cmake b/cloud/cmake/thirdparty.cmake
index 7f7b6111508..80e70c87eca 100644
--- a/cloud/cmake/thirdparty.cmake
+++ b/cloud/cmake/thirdparty.cmake
@@ -105,10 +105,12 @@ add_thirdparty(idn LIB64)
 add_thirdparty(gsasl)
 # end krb5 libs
 # begin azure libs
-add_thirdparty(azure-core)
-add_thirdparty(azure-identity)
-add_thirdparty(azure-storage-blobs)
-add_thirdparty(azure-storage-common)
+if(BUILD_AZURE STREQUAL "ON")
+    add_thirdparty(azure-core)
+    add_thirdparty(azure-identity)
+    add_thirdparty(azure-storage-blobs)
+    add_thirdparty(azure-storage-common)
+endif()
 # end azure libs
 
 add_thirdparty(gtest NOTADD)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to