diff --git a/CMakeLists.txt b/CMakeLists.txt index 37ca19c..51d740d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)