Link against pthreads library on systems that do not include it automatically. Fixes issue 149.

pull/216/head
castano 14 years ago
parent c21fa98ba5
commit 260097151d

@ -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)

Loading…
Cancel
Save