--- libutp/CMakeLists.txt.orig	2023-03-10 13:43:56.824850700 +0100
+++ libutp/CMakeLists.txt	2023-03-10 12:50:54.616220500 +0100
@@ -77,6 +77,10 @@
     add_library(${PROJECT_NAME}::libutp ALIAS libutp)
 endif()
 
+if(WIN32)
+    target_link_libraries(libutp ws2_32)
+endif()
+
 set_target_properties(libutp
     PROPERTIES
         OUTPUT_NAME utp)
