Also link test executable to ws2_32
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
16929b1aea
commit
5877bb5ec0
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue