Merge pull request #76 from jroweboy/mingw-fix

Fix mingw compilation when using CMake
This commit is contained in:
Lee Salzman 2017-07-12 22:32:14 -04:00 committed by GitHub
commit a84c120eff

View file

@ -68,3 +68,7 @@ add_library(enet STATIC
unix.c
win32.c
)
if (MINGW)
target_link_libraries(enet winmm ws2_32)
endif()