summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-08-11 11:16:32 -0700
committerJosh Blum <josh@joshknows.com>2011-08-11 11:16:32 -0700
commit519e1a83a57869c82e5d8699f38b1a3f02c6e96c (patch)
tree8d1ebbdd964523f9197bba3b4aa2dc2dfab95b65 /host
parent8444c6a8354c3c2de283c64897241798d031abe3 (diff)
downloaduhd-519e1a83a57869c82e5d8699f38b1a3f02c6e96c.tar.gz
uhd-519e1a83a57869c82e5d8699f38b1a3f02c6e96c.tar.bz2
uhd-519e1a83a57869c82e5d8699f38b1a3f02c6e96c.zip
udp: only build WSA transport for MSVC (not supported on mingw for example)
Diffstat (limited to 'host')
-rw-r--r--host/lib/transport/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/transport/CMakeLists.txt b/host/lib/transport/CMakeLists.txt
index 866ade75f..7aa999991 100644
--- a/host/lib/transport/CMakeLists.txt
+++ b/host/lib/transport/CMakeLists.txt
@@ -82,7 +82,7 @@ SET_SOURCE_FILES_PROPERTIES(
########################################################################
# Setup UDP
########################################################################
-IF(WIN32)
+IF(MSVC)
LIBUHD_APPEND_SOURCES(${CMAKE_CURRENT_SOURCE_DIR}/udp_wsa_zero_copy.cpp)
ELSE()
LIBUHD_APPEND_SOURCES(${CMAKE_CURRENT_SOURCE_DIR}/udp_zero_copy.cpp)