From 12fa172d61daa8e958b25e59eecfa293aac8dca3 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期三, 30 十二月 2020 17:35:28 +0800
Subject: [PATCH] update

---
 test_net_socket/CMakeLists.txt |    3 ++-
 lib/libusgcommon.a             |    0 
 src/CMakeLists.txt             |    1 +
 lib/libusgcommon.so            |    0 
 4 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/libusgcommon.a b/lib/libusgcommon.a
index 7070160..8b4864c 100644
--- a/lib/libusgcommon.a
+++ b/lib/libusgcommon.a
Binary files differ
diff --git a/lib/libusgcommon.so b/lib/libusgcommon.so
index 4f1646b..b97c1a4 100644
--- a/lib/libusgcommon.so
+++ b/lib/libusgcommon.so
Binary files differ
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2a320d4..e8e5ab4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -40,6 +40,7 @@
                            ${CMAKE_CURRENT_SOURCE_DIR}/socket
                            )
  
+target_link_libraries(shm_queue PUBLIC  ${EXTRA_LIBS} )
 
 # install rules
 install(TARGETS shm_queue DESTINATION lib)
diff --git a/test_net_socket/CMakeLists.txt b/test_net_socket/CMakeLists.txt
index 08132f7..6d0cb29 100644
--- a/test_net_socket/CMakeLists.txt
+++ b/test_net_socket/CMakeLists.txt
@@ -10,7 +10,8 @@
 target_link_libraries(test_net_mod_socket PUBLIC shm_queue  ${EXTRA_LIBS} )
 
 add_executable(heart_beat heart_beat.cpp)
-target_link_libraries(heart_beat PUBLIC shm_queue  ${EXTRA_LIBS} )
+target_link_libraries(heart_beat PUBLIC shm_queue )
+# target_link_libraries(heart_beat PUBLIC shm_queue  ${EXTRA_LIBS} )
 
 
 target_include_directories(test_net_mod_socket PUBLIC

--
Gitblit v1.8.0