aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6c99c3e..f1f9a01 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -68,3 +68,7 @@ add_library(enet STATIC
unix.c
win32.c
)
+
+if (MINGW)
+ target_link_libraries(enet winmm ws2_32)
+endif() \ No newline at end of file