From 519c3955777e6287da1195f46060faf14927b30b Mon Sep 17 00:00:00 2001 From: ShrBox Date: Sun, 21 Jan 2024 19:09:49 +0800 Subject: [PATCH] chore: update xmake.lua --- xmake.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xmake.lua b/xmake.lua index 2810f3a..17c1d13 100644 --- a/xmake.lua +++ b/xmake.lua @@ -16,6 +16,10 @@ add_requires( add_requires("cpp-httplib v0.14.0", {configs = {ssl=true, zlib=true}}) add_requires("scriptx 0.1.0", {configs={backend=get_config("backend")}}) +if not has_config("vs_runtime") then + set_runtimes("MD") +end + local LLSE_BACKEND = "LUA" local LLSE_BACKEND_LIBRARY = "Lua" local SCRIPTX_BACKEND = "Lua"