diff --git a/apps/clientconsole/CMakeLists.txt b/apps/clientconsole/CMakeLists.txt index f030d9024..c3bdfd499 100644 --- a/apps/clientconsole/CMakeLists.txt +++ b/apps/clientconsole/CMakeLists.txt @@ -1,3 +1,4 @@ +find_package(Threads REQUIRED) add_executable(clientconsole client.cpp) -target_link_libraries(clientconsole ${Boost_LIBRARIES}) +target_link_libraries(clientconsole ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})