From 3219a5ecee29ca66bb587fc149755ec4e0d42166 Mon Sep 17 00:00:00 2001 From: niyuhang <956550207@qq.com> Date: Wed, 3 Jul 2024 12:17:21 +0000 Subject: [PATCH] add the unittest for opensource mode --- deps/oblib/src/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/deps/oblib/src/CMakeLists.txt b/deps/oblib/src/CMakeLists.txt index 2f3d48e078..540df4b689 100644 --- a/deps/oblib/src/CMakeLists.txt +++ b/deps/oblib/src/CMakeLists.txt @@ -18,8 +18,6 @@ target_include_directories( ${DEP_DIR}/include ${DEP_DIR}/include/libxml2 ${DEVTOOLS_DIR} - ${DEP_3RD_DIR}/usr/local/include - ${DEP_3RD_DIR}/usr/include/ ${DEP_DIR}/include/apr-1/ ${DEP_DIR}/include/icu/common ${DEP_DIR}/include/apache-arrow @@ -31,6 +29,12 @@ if(OB_BUILD_OPENSOURCE) oblib_base_base_base INTERFACE ${DEP_DIR}/include/mariadb ) +else() + target_include_directories( + oblib_base_base_base INTERFACE + ${DEP_3RD_DIR}/usr/local/include + ${DEP_3RD_DIR}/usr/include/ + ) endif() if(OB_BUILD_SPM)