diff options
author | Josh Blum <josh@joshknows.com> | 2011-12-27 11:33:20 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-12-27 11:33:20 -0800 |
commit | 5426e513abe51d457f741a413d8577d812d336c4 (patch) | |
tree | 687d0a5b49879697bae9fb667079ba816780a646 /host/lib/utils/CMakeLists.txt | |
parent | 3082aaafa2e86ae4e06348345d0556c2d9cb0889 (diff) | |
download | uhd-5426e513abe51d457f741a413d8577d812d336c4.tar.gz uhd-5426e513abe51d457f741a413d8577d812d336c4.tar.bz2 uhd-5426e513abe51d457f741a413d8577d812d336c4.zip |
uhd: manually link into pthreads here
Diffstat (limited to 'host/lib/utils/CMakeLists.txt')
-rw-r--r-- | host/lib/utils/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/utils/CMakeLists.txt b/host/lib/utils/CMakeLists.txt index b50e91299..95105f917 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) |