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

wangdan pushed a commit to branch fix-undefined-ref-to-task_code-write
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to 
refs/heads/fix-undefined-ref-to-task_code-write by this push:
     new c839d4aa1 fix(build): fix undefined reference to dsn::task_code::write 
while building by gcc on ubuntu2004
c839d4aa1 is described below

commit c839d4aa1a2e530f43bbed34ed3761863890be03
Author: Dan Wang <[email protected]>
AuthorDate: Mon Oct 24 01:00:01 2022 +0800

    fix(build): fix undefined reference to dsn::task_code::write while building 
by gcc on ubuntu2004
---
 src/base/CMakeLists.txt      | 2 +-
 src/geo/bench/CMakeLists.txt | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/base/CMakeLists.txt b/src/base/CMakeLists.txt
index 7c117ef4f..caeb5969f 100644
--- a/src/base/CMakeLists.txt
+++ b/src/base/CMakeLists.txt
@@ -30,5 +30,5 @@ set(MY_PROJ_SRC "")
 
 dsn_add_static_library()
 
-target_link_libraries(pegasus_base PUBLIC RocksDB::rocksdb sasl2 gssapi_krb5 
krb5 dsn_replication_common)
+target_link_libraries(pegasus_base PUBLIC RocksDB::rocksdb sasl2 gssapi_krb5 
krb5 dsn_replication_common dsn_runtime)
 target_include_directories(pegasus_base PUBLIC 
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>")
diff --git a/src/geo/bench/CMakeLists.txt b/src/geo/bench/CMakeLists.txt
index c270c886c..1c4ea97a5 100644
--- a/src/geo/bench/CMakeLists.txt
+++ b/src/geo/bench/CMakeLists.txt
@@ -33,7 +33,6 @@ set(MY_PROJ_LIBS
         s2
         pegasus_client_static
         RocksDB::rocksdb
-        dsn_runtime
         dsn_utils
         )
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to