From 5540cda82078b1c5111357a1ae5a7d1aee66378f Mon Sep 17 00:00:00 2001 From: Florent Castelli Date: Fri, 20 Jan 2017 23:03:59 +0100 Subject: [PATCH] cmake: Don't build traversal_server on Windows, it requires posix platform --- Source/Core/Common/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt index 0a99131bc4..498adcf8f8 100644 --- a/Source/Core/Common/CMakeLists.txt +++ b/Source/Core/Common/CMakeLists.txt @@ -98,4 +98,8 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") endif() add_dolphin_library(common "${SRCS}" "${LIBS}") -add_executable(traversal_server TraversalServer.cpp) + +if(UNIX) + # Posix networking code needs to be fixed for Windows + add_executable(traversal_server TraversalServer.cpp) +endif()