diff --git a/CMakeLists.txt b/CMakeLists.txt index 02f501d..1cfc2ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)