From 5426e513abe51d457f741a413d8577d812d336c4 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 27 Dec 2011 11:33:20 -0800 Subject: uhd: manually link into pthreads here --- host/lib/utils/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/utils/CMakeLists.txt') 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) -- cgit v1.2.3