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

This commit is contained in:
Deukhoofd committed 2021-10-23 15:42:39 +02:00
1 parent 16929b1aea
commit 5877bb5ec0
1 file changed
+1
+1
View File
@@ -133,6 +133,7 @@ if (WINDOWS)
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)
endif (WINDOWS)
if (NOT WINDOWS)