This is an automated email from the ASF dual-hosted git repository.
gavinchou pushed a commit to branch tmp-branch-4.1.0-oss-native-sdk
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to
refs/heads/tmp-branch-4.1.0-oss-native-sdk by this push:
new e5745e1e195 [fix](cloud) Ensure OSS thirdparty libs are linked when
BUILD_OSS is ON (#62796)
e5745e1e195 is described below
commit e5745e1e1957679531a6c2d75c6213d56fe3463d
Author: Yixuan Wang <[email protected]>
AuthorDate: Fri Apr 24 15:51:58 2026 +0800
[fix](cloud) Ensure OSS thirdparty libs are linked when BUILD_OSS is ON
(#62796)
---
cloud/CMakeLists.txt | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/cloud/CMakeLists.txt b/cloud/CMakeLists.txt
index 57318f2d2d6..5ba7fb772a0 100644
--- a/cloud/CMakeLists.txt
+++ b/cloud/CMakeLists.txt
@@ -91,6 +91,18 @@ set(TEST_DIR "${CMAKE_SOURCE_DIR}/test/")
set(OUTPUT_DIR "${BASE_DIR}/output")
set(THIRDPARTY_SRC "$ENV{DORIS_THIRDPARTY}/src")
+option(BUILD_AZURE "ON for building azure support for BE or OFF for not" OFF)
+message(STATUS "build azure: ${BUILD_AZURE}")
+if(BUILD_AZURE STREQUAL "ON")
+ add_definitions(-DUSE_AZURE)
+endif()
+
+option(BUILD_OSS "ON for building OSS support or OFF for not" ON)
+message(STATUS "build OSS: ${BUILD_OSS}")
+if(BUILD_OSS STREQUAL "ON")
+ add_definitions(-DUSE_OSS)
+endif()
+
if (APPLE)
set(MAKE_TEST "ON")
else()
@@ -337,18 +349,6 @@ else ()
set(MALLOCLIB tcmalloc)
endif()
-option(BUILD_AZURE "ON for building azure support for BE or OFF for not" OFF)
-message(STATUS "build azure: ${BUILD_AZURE}")
-if(BUILD_AZURE STREQUAL "ON")
- add_definitions(-DUSE_AZURE)
-endif()
-
-option(BUILD_OSS "ON for building OSS support or OFF for not" ON)
-message(STATUS "build OSS: ${BUILD_OSS}")
-if(BUILD_OSS STREQUAL "ON")
- add_definitions(-DUSE_OSS)
-endif()
-
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(ASAN_LIBS -static-libasan)
set(LSAN_LIBS -static-liblsan)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]