Skip to content

Commit

Permalink
build: force /MD
Browse files Browse the repository at this point in the history
  • Loading branch information
futrime committed Jan 22, 2024
1 parent 9d72cec commit 5551d92
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ add_rules("mode.debug", "mode.release", "mode.releasedbg")

add_repositories("liteldev-repo https://github.com/LiteLDev/xmake-repo.git")

if not has_config("vs_runtime") then
set_runtimes("MD")
end

-- Option 1: Use the latest version of LeviLamina released on GitHub.
add_requires("levilamina")

Expand Down Expand Up @@ -40,6 +36,8 @@ add_requires("levilamina")
-- import("package.tools.xmake").install(package)
-- end)

set_runtimes("MD")

target("plugin") -- Change this to your plugin name.
add_cxflags(
"/EHa",
Expand Down

0 comments on commit 5551d92

Please sign in to comment.