mirror of
https://github.com/lsalzman/enet
synced 2024-11-21 14:29:05 -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}
|
${SOURCE_FILES}
|
||||||
)
|
)
|
||||||
|
|
||||||
if (MINGW)
|
if (WIN32)
|
||||||
target_link_libraries(enet winmm ws2_32)
|
target_link_libraries(enet winmm ws2_32)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue