Add Windows reference to ws2_32
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2021-10-23 15:30:52 +02:00
parent 4983778c82
commit 16929b1aea
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ if (WINDOWS)
if (SHARED)
set_target_properties(pkmnLib PROPERTIES SUFFIX ".dll")
endif (SHARED)
set(_LINKS ${_LINKS} -Wl,-Bstatic -lws2_32 -Wl,-Bdynamic)
endif (WINDOWS)
if (NOT WINDOWS)