From 83956b12d863924936a98c9dfbece37feb0cce9c Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 04 二月 2021 14:48:04 +0800
Subject: [PATCH] update

---
 src/CMakeLists.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index daeb2e4..a96920e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -29,7 +29,7 @@
 )
 
 
-add_library(shm_queue ${_SOURCES_})
+add_library(shm_queue SHARED ${_SOURCES_})
 
 target_include_directories(shm_queue PUBLIC ${EXTRA_INCLUDES} )
 
@@ -46,7 +46,7 @@
 target_link_libraries(shm_queue PUBLIC  ${EXTRA_LIBS} )
 
 # install rules
-install(TARGETS shm_queue DESTINATION lib)
+install(TARGETS shm_queue  DESTINATION lib)
 install(FILES 
   ./socket/socket_def.h
   ./socket/bus_server_socket.h

--
Gitblit v1.8.0