summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryangwei <[email protected]>2020-09-21 20:40:29 +0800
committeryangwei <[email protected]>2020-09-21 20:40:29 +0800
commite39e641103e19e27aa004932e5b3a4b984a7897d (patch)
tree66ee589287d4aaff2443a1f14d6432bad96cf142
parentf461cbbc3d4feef6a4b69207f016bdb17c9ccaaa (diff)
UPDATE:demo使用动态链接
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b1f17b6..11dd805 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,6 +73,6 @@ install(CODE "execute_process( \
add_executable(${lib_name}_demo demo/test_handle_logger.c)
-target_link_libraries(${lib_name}_demo rt pthread ${lib_name}_static)
+target_link_libraries(${lib_name}_demo rt pthread ${lib_name}_shared)
include(Package)