diff --git a/CMakeLists.txt b/CMakeLists.txt index ac6f827..cbbb8e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ target_link_libraries(example-sync lwmqtt) add_executable(example-async examples/async.c) -target_link_libraries(example-async lwmqtt) +target_link_libraries(example-async lwmqtt pthread) set(TEST_FILES tests/client.cpp