From 552ea55a92aa06d763cabe507c2323b933e0a8d9 Mon Sep 17 00:00:00 2001 From: Adrien Moulin Date: Sun, 21 Aug 2022 19:48:00 +0200 Subject: [PATCH] network: always link to ws2_32 on win32 --- src/network/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/network/CMakeLists.txt b/src/network/CMakeLists.txt index ffd5d03a7..50f07612b 100644 --- a/src/network/CMakeLists.txt +++ b/src/network/CMakeLists.txt @@ -35,3 +35,7 @@ endif() if (HAIKU) target_link_libraries(86Box network) endif() + +if(WIN32) + target_link_libraries(86Box ws2_32) +endif()