From ba5dfa6002866b60c823d94e197575d8c89cd1b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20G=C3=A4hwiler?= Date: Thu, 22 Mar 2018 21:21:50 +0100 Subject: [PATCH] added pthread --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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