diff options
| author | yangwei <[email protected]> | 2019-05-08 16:49:39 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2019-05-08 16:49:39 +0800 |
| commit | 9d3140dfc1571a151c1aad45cc5c76927cbd2723 (patch) | |
| tree | d041019835e778e4f2e5f9aad1cdc9bb522ec0ee /CMakeLists.txt | |
| parent | bcd4bfe3edc966dd2e4421a2ee0b7e411b50f523 (diff) | |
demo增加链接rt
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 9b317e2..6f48124 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,6 +58,6 @@ file(GLOB DEMO ) add_executable(${lib_name}_demo ${DEMO}) -target_link_libraries(${lib_name}_demo pthread ${lib_name}_static) +target_link_libraries(${lib_name}_demo rt pthread ${lib_name}_static) include(Package) |
