diff --git a/CMakeLists.txt b/CMakeLists.txt index 28bb03e..cd1782d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,7 +145,7 @@ if (STATICC) set(_LINKS ${_LINKS} -static-libgcc -static-libstdc++ -Wl,-Bstatic -lm -lstdc++ -lpthread -Wl,-Bdynamic) SET(_TESTLINKS ${_TESTLINKS} -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic) else() - SET(_LINKS ${_LINKS} Threads::Threads) + SET(_LINKS ${_LINKS} -lpthread) endif() target_link_libraries(pkmnLib PUBLIC ${_LINKS})