mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 06:25:59 -07:00
CMake: Fix linking for Windows builds on non-mingw compilers (#241)
This commit is contained in:
parent
2662c0de09
commit
276ff5ae05
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ add_library(enet STATIC
|
|||
${SOURCE_FILES}
|
||||
)
|
||||
|
||||
if (MINGW)
|
||||
if (WIN32)
|
||||
target_link_libraries(enet winmm ws2_32)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue