Skip to content

Commit

Permalink
build: better set runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
futrime committed Feb 8, 2024
1 parent 450f751 commit 4c36252
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ else
end

if not has_config("vs_runtime") then
set_runtimes("MD")
if is_mode("debug") then
set_runtimes("MDd")
else
set_runtimes("MD")
end
end

option("tests")
Expand Down

0 comments on commit 4c36252

Please sign in to comment.