[feat] switch to /MT static runtime to improve Windows compatibility

This commit is contained in:
dijunkun
2025-10-16 12:40:53 +08:00
parent 09f34a81ad
commit b8535fff6f
2 changed files with 2 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ if is_os("windows") then
"SDL3-static", "gdi32", "winmm", "setupapi", "version",
"Imm32", "iphlpapi")
add_cxflags("/WX")
set_runtimes("MT")
elseif is_os("linux") then
add_links("pulse-simple", "pulse")
add_requires("libyuv")