diff options
| author | ruki <[email protected]> | 2023-06-28 23:22:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-06-28 23:22:28 +0800 |
| commit | f33ad6f582deaa9d576e12f40fed715eed168846 (patch) | |
| tree | 9a90da62da4ce0aec70df02e9193d6995c31ff52 | |
| parent | 8752688ebe49a6eb26404aa4054eda409f597f47 (diff) | |
use set_runtimes
| -rw-r--r-- | core/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
