From 36f98a11281d25a3a5b563e56f7469e59d585b26 Mon Sep 17 00:00:00 2001 From: Josua Grawitter Date: Wed, 7 Jul 2010 17:35:29 +0200 Subject: [PATCH] Fix build error for clientconsole pthreads is now linked. Signed-off-by: Josua Grawitter --- apps/clientconsole/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/clientconsole/CMakeLists.txt b/apps/clientconsole/CMakeLists.txt index f030d90245..c3bdfd4994 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})