This is an automated email from the ASF dual-hosted git repository.
yiguolei 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 8bad3bbd62 [fix](be) doris_be compile failed(#20932) (#20932)
8bad3bbd62 is described below
commit 8bad3bbd62ed64865c72b32dec42d6889940edfe
Author: gohalo <[email protected]>
AuthorDate: Sat Sep 2 08:26:24 2023 +0800
[fix](be) doris_be compile failed(#20932) (#20932)
Co-authored-by: yiguolei <[email protected]>
---
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 aa8bd99cfc..380de74e0b 100644
--- a/be/CMakeLists.txt
+++ b/be/CMakeLists.txt
@@ -465,6 +465,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: [email protected]
For additional commands, e-mail: [email protected]