Fixes for Windows
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2022-02-12 14:32:15 +01:00
parent 55f90728bf
commit a7e582a712
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 2 additions and 2 deletions

View File

@ -193,8 +193,8 @@ if (WINDOWS)
if (SHARED)
set_target_properties(pkmnLib PROPERTIES SUFFIX ".dll")
endif (SHARED)
set(_LINKS ${_LINKS} -Wl,-Bstatic -lws2_32 -Wl,-Bdynamic)
set(_TESTLINKS ${_TESTLINKS} -Wl,-Bstatic -lws2_32 -Wl,-Bdynamic)
set(_LINKS ${_LINKS} -Wl,-Bstatic -lws2_32 -lstdc++ -lpthread -Wl,-Bdynamic)
set(_TESTLINKS ${_TESTLINKS} -Wl,-Bstatic -lws2_32 -lstdc++ -lpthread -Wl,-Bdynamic)
endif (WINDOWS)
if (STATICC)