summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-24 23:26:16 +0800
committerruki <[email protected]>2020-12-24 23:26:16 +0800
commitca145f007e0b2cff55548b6a05952b9e0308d969 (patch)
tree1acbf7c0424898065aaf4ad91a13a92cf2f15523
parent621e3706b229c39cfe4c94bfa9417405cde883fb (diff)
fix vs runtime for vs201x
-rw-r--r--xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua
index ff2cad388..04a53b052 100644
--- a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua
+++ b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua
@@ -305,7 +305,7 @@ function _make_source_options(vcxprojfile, flags, condition)
vcxprojfile:print("<RuntimeLibrary%s>MultiThreadedDLL</RuntimeLibrary>", condition)
elseif flagstr:find("[%-/]MTd") then
vcxprojfile:print("<RuntimeLibrary%s>MultiThreadedDebug</RuntimeLibrary>", condition)
- elseif flagstr:find("[%-/]MT") then
+ else
vcxprojfile:print("<RuntimeLibrary%s>MultiThreaded</RuntimeLibrary>", condition)
end