From 56012db86e375a6f1283e7773db5650801e9590e Mon Sep 17 00:00:00 2001 From: Koncord Date: Sun, 21 May 2017 14:53:36 +0800 Subject: [PATCH] [Master] Fix build for windows --- apps/master/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/master/CMakeLists.txt b/apps/master/CMakeLists.txt index d29218d67..0613335c0 100644 --- a/apps/master/CMakeLists.txt +++ b/apps/master/CMakeLists.txt @@ -24,3 +24,7 @@ if (UNIX) endif() endif(NOT APPLE) endif(UNIX) + +if(WIN32) + target_link_libraries(masterserver wsock32) +endif(WIN32)