Link against pthreads library on systems that do not include it automatically. Fixes issue 149.
This commit is contained in:
parent
f33bcfafad
commit
c722267b9b
@ -107,6 +107,7 @@ FIND_PACKAGE(Qt4)
|
|||||||
# Threads
|
# Threads
|
||||||
FIND_PACKAGE(Threads REQUIRED)
|
FIND_PACKAGE(Threads REQUIRED)
|
||||||
MESSAGE(STATUS "Use thread library: ${CMAKE_THREAD_LIBS_INIT}")
|
MESSAGE(STATUS "Use thread library: ${CMAKE_THREAD_LIBS_INIT}")
|
||||||
|
SET(LIBS ${LIBS} ${CMAKE_THREAD_LIBS_INIT})
|
||||||
|
|
||||||
# configuration file
|
# configuration file
|
||||||
INCLUDE(CheckIncludeFiles)
|
INCLUDE(CheckIncludeFiles)
|
||||||
|
Loading…
Reference in New Issue
Block a user