From 519e1a83a57869c82e5d8699f38b1a3f02c6e96c Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 11 Aug 2011 11:16:32 -0700 Subject: udp: only build WSA transport for MSVC (not supported on mingw for example) --- host/lib/transport/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3