Also link test executable to ws2_32
continuous-integration/drone/push Build is failing Details

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

View File

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