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

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 77e96c3fb553f6e5e6003067960f4ff0b46d3f26
Author: gohalo <130516674+goh...@users.noreply.github.com>
AuthorDate: Sat Sep 2 08:26:24 2023 +0800

    [fix](be) doris_be compile failed(#20932) (#20932)
    
    Co-authored-by: yiguolei <676222...@qq.com>
---
 be/CMakeLists.txt         | 1 +
 be/src/geo/CMakeLists.txt | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/be/CMakeLists.txt b/be/CMakeLists.txt
index eddbfe0d3e..6ea14138dd 100644
--- a/be/CMakeLists.txt
+++ b/be/CMakeLists.txt
@@ -487,6 +487,7 @@ set(DORIS_LINK_LIBS
     DorisGen
     Webserver
     Geo
+    GeoType
     Vec
     Pipeline
     ${WL_END_GROUP}
diff --git a/be/src/geo/CMakeLists.txt b/be/src/geo/CMakeLists.txt
index fbe5d52f9a..3671d352ea 100644
--- a/be/src/geo/CMakeLists.txt
+++ b/be/src/geo/CMakeLists.txt
@@ -21,7 +21,7 @@ set(LIBRARY_OUTPUT_PATH "${BUILD_DIR}/src/geo")
 # where to put generated binaries
 set(EXECUTABLE_OUTPUT_PATH "${BUILD_DIR}/src/geo")
 
-add_library(geo_type STATIC geo_types.cpp)
+add_library(GeoType STATIC geo_types.cpp)
 
 add_library(Geo STATIC
     geo_common.cpp
@@ -35,7 +35,7 @@ add_library(Geo STATIC
 )
 pch_reuse(Geo)
 
-target_link_libraries(Geo geo_type)
+target_link_libraries(Geo GeoType)
 include(CheckCXXCompilerFlag)
 set(WARNING_OPTION "-Wno-unused-but-set-variable")
 check_cxx_compiler_flag(${WARNING_OPTION} HAS_WARNING_OPTION)


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

Reply via email to