cmake: Don't build traversal_server on Windows, it requires posix platform

This commit is contained in:
Florent Castelli 2017-01-20 23:03:59 +01:00
parent e55ec1ed35
commit 5540cda820

View file

@ -98,4 +98,8 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
endif()
add_dolphin_library(common "${SRCS}" "${LIBS}")
if(UNIX)
# Posix networking code needs to be fixed for Windows
add_executable(traversal_server TraversalServer.cpp)
endif()