From 260097151d8dbaec70fadf4aa6740b687693ef5e Mon Sep 17 00:00:00 2001 From: castano Date: Tue, 30 Nov 2010 20:30:11 +0000 Subject: [PATCH] Link against pthreads library on systems that do not include it automatically. Fixes issue 149. --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2746db7..5d30583 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -132,6 +132,7 @@ FIND_PACKAGE(Qt4) # Threads FIND_PACKAGE(Threads REQUIRED) MESSAGE(STATUS "Use thread library: ${CMAKE_THREAD_LIBS_INIT}") +SET(LIBS ${LIBS} ${CMAKE_THREAD_LIBS_INIT}) # configuration file INCLUDE(CheckIncludeFiles)