mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 14:29:05 -07:00
Merge pull request #76 from jroweboy/mingw-fix
Fix mingw compilation when using CMake
This commit is contained in:
commit
a84c120eff
1 changed files with 4 additions and 0 deletions
|
@ -68,3 +68,7 @@ add_library(enet STATIC
|
|||
unix.c
|
||||
win32.c
|
||||
)
|
||||
|
||||
if (MINGW)
|
||||
target_link_libraries(enet winmm ws2_32)
|
||||
endif()
|
Loading…
Reference in a new issue