summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-12-27 11:33:20 -0800
committerJosh Blum <josh@joshknows.com>2011-12-30 23:38:33 -0800
commita1901aa90c0f72d7419461a365da76e223c6b467 (patch)
treec3614a61d01354329e685f429b7b5d8ebbb31588
parentcd34627d31b2c593151c0c8caeae20d6ec7a5121 (diff)
downloaduhd-a1901aa90c0f72d7419461a365da76e223c6b467.tar.gz
uhd-a1901aa90c0f72d7419461a365da76e223c6b467.tar.bz2
uhd-a1901aa90c0f72d7419461a365da76e223c6b467.zip
uhd: manually link into pthreads here
-rw-r--r--host/lib/utils/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/utils/CMakeLists.txt b/host/lib/utils/CMakeLists.txt
index fd3249099..e248f82e0 100644
--- a/host/lib/utils/CMakeLists.txt
+++ b/host/lib/utils/CMakeLists.txt
@@ -54,6 +54,7 @@ CHECK_CXX_SOURCE_COMPILES("
IF(HAVE_PTHREAD_SETSCHEDPARAM)
MESSAGE(STATUS " Priority scheduling supported through pthread_setschedparam.")
SET(THREAD_PRIO_DEFS HAVE_PTHREAD_SETSCHEDPARAM)
+ LIBUHD_APPEND_LIBS(pthread)
ELSEIF(HAVE_WIN_SETTHREADPRIORITY)
MESSAGE(STATUS " Priority scheduling supported through windows SetThreadPriority.")
SET(THREAD_PRIO_DEFS HAVE_WIN_SETTHREADPRIORITY)