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

2.0
castano 14 years ago
parent f33bcfafad
commit c722267b9b

@ -107,6 +107,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