diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fea198..02f501d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -132,6 +132,7 @@ if (WINDOWS) if (SHARED) set_target_properties(pkmnLib PROPERTIES SUFFIX ".dll") endif (SHARED) + set(_LINKS ${_LINKS} -Wl,-Bstatic -lws2_32 -Wl,-Bdynamic) endif (WINDOWS) if (NOT WINDOWS)