aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/CMakeLists.txt
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-04-07 12:01:10 -0500
committerJosh Blum <josh@joshknows.com>2011-04-07 12:01:10 -0500
commitf0a2601d456ba4b5a75a7f0c9d21d2ab517dacec (patch)
treec6b0aa9c7a29a0dd39545bd5832b3b39eabaf9fe /host/lib/utils/CMakeLists.txt
parente2cd276da0b23f59ba028b2f57443c27f921fa00 (diff)
parent74fc8946688d53ccd5d067d3f86e26b990af1bd4 (diff)
downloaduhd-f0a2601d456ba4b5a75a7f0c9d21d2ab517dacec.tar.gz
uhd-f0a2601d456ba4b5a75a7f0c9d21d2ab517dacec.tar.bz2
uhd-f0a2601d456ba4b5a75a7f0c9d21d2ab517dacec.zip
Merge branch 'mingw_cygwin'
Diffstat (limited to 'host/lib/utils/CMakeLists.txt')
-rw-r--r--host/lib/utils/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/lib/utils/CMakeLists.txt b/host/lib/utils/CMakeLists.txt
index c0d99b37e..26c02b5b4 100644
--- a/host/lib/utils/CMakeLists.txt
+++ b/host/lib/utils/CMakeLists.txt
@@ -36,6 +36,11 @@ CHECK_CXX_SOURCE_COMPILES("
" HAVE_PTHREAD_SETSCHEDPARAM
)
+IF(CYGWIN)
+ #SCHED_RR non-operational on cygwin
+ SET(HAVE_PTHREAD_SETSCHEDPARAM False)
+ENDIF(CYGWIN)
+
CHECK_CXX_SOURCE_COMPILES("
#include <windows.h>
int main(){