From 69e7df11d58bb7b00f8a0dfe74da3df984b23ea2 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 11 Feb 2022 11:46:21 +0100 Subject: [PATCH] Add winpthread back again --- angelscript/projects/cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angelscript/projects/cmake/CMakeLists.txt b/angelscript/projects/cmake/CMakeLists.txt index 0e598ae..fabffa6 100644 --- a/angelscript/projects/cmake/CMakeLists.txt +++ b/angelscript/projects/cmake/CMakeLists.txt @@ -167,7 +167,7 @@ if (LINK_STD_STATICALLY) message(STATUS "Linking std libraries statically") set(as_LINKS -static-libgcc -static-libstdc++ -Wl,-Bstatic -lstdc++) if (MSVC) - set(as_LINKS "${as_LINKS}") + set(as_LINKS "${as_LINKS} -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive") else() set(as_LINKS "${as_LINKS}") endif(MSVC)