Skip to content
Browse files

Fix mingw compilation

In order to compile enet on mingw, you need to link against winmm and
ws2_32. This explicitly makes those libraries required on mingw
  • Loading branch information...
jroweboy committed Jul 13, 2017
1 parent 9d9ba12 commit 6cc8cc8a26645681a6c38487316b130caac89402
Showing with 4 additions and 0 deletions.
  1. +4 −0 CMakeLists.txt
@@ -68,3 +68,7 @@ add_library(enet STATIC

if (MINGW)
target_link_libraries(enet winmm ws2_32)

0 comments on commit 6cc8cc8

Please sign in to comment.
You can’t perform that action at this time.