From f33ad6f582deaa9d576e12f40fed715eed168846 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 28 Jun 2023 23:22:28 +0800 Subject: use set_runtimes --- core/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/xmake.lua') diff --git a/core/xmake.lua b/core/xmake.lua index 95637b342..40ad35384 100644 --- a/core/xmake.lua +++ b/core/xmake.lua @@ -38,7 +38,7 @@ end]] -- for the windows platform (msvc) if is_plat("windows") then - add_cxflags("-MT") + set_runtimes("MT") add_ldflags("-nodefaultlib:msvcrt.lib") add_links("kernel32", "user32", "gdi32") end -- cgit v1.3.1