diff options
author | Josh Blum <josh@joshknows.com> | 2011-04-07 12:01:10 -0500 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-04-07 12:01:10 -0500 |
commit | f0a2601d456ba4b5a75a7f0c9d21d2ab517dacec (patch) | |
tree | c6b0aa9c7a29a0dd39545bd5832b3b39eabaf9fe /host/CMakeLists.txt | |
parent | e2cd276da0b23f59ba028b2f57443c27f921fa00 (diff) | |
parent | 74fc8946688d53ccd5d067d3f86e26b990af1bd4 (diff) | |
download | uhd-f0a2601d456ba4b5a75a7f0c9d21d2ab517dacec.tar.gz uhd-f0a2601d456ba4b5a75a7f0c9d21d2ab517dacec.tar.bz2 uhd-f0a2601d456ba4b5a75a7f0c9d21d2ab517dacec.zip |
Merge branch 'mingw_cygwin'
Diffstat (limited to 'host/CMakeLists.txt')
-rw-r--r-- | host/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 7df04995c..552fe492c 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -90,6 +90,10 @@ IF(MSVC) ) ENDIF(MSVC) +IF(CYGWIN) + ADD_DEFINITIONS(-D__USE_W32_SOCKETS) #boost asio says we need this +ENDIF(CYGWIN) + IF(WIN32) ADD_DEFINITIONS(-D_WIN32_WINNT=0x0501) #minimum version required is windows xp ADD_DEFINITIONS(-DNOMINMAX) #disables stupidity and enables std::min and std::max |