diff options
| author | yangwei <[email protected]> | 2020-09-21 20:40:29 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2020-09-21 20:40:29 +0800 |
| commit | e39e641103e19e27aa004932e5b3a4b984a7897d (patch) | |
| tree | 66ee589287d4aaff2443a1f14d6432bad96cf142 /CMakeLists.txt | |
| parent | f461cbbc3d4feef6a4b69207f016bdb17c9ccaaa (diff) | |
UPDATE:demo使用动态链接
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 2 |
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) |
