summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-29 00:44:34 +0800
committerruki <[email protected]>2021-09-29 00:44:34 +0800
commit1123617bd848a2328493f39b53b97e3ce707e7b3 (patch)
tree3b0fec2a91aaf4cdc4c9eb228d9af819a7e77e21
parentf27971ea0d01415aa9cc7e4c69114149bccc15c1 (diff)
fix minver
-rw-r--r--xmake/plugins/project/cmake/cmakelists.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua
index 2d26a7888..7d8765055 100644
--- a/xmake/plugins/project/cmake/cmakelists.lua
+++ b/xmake/plugins/project/cmake/cmakelists.lua
@@ -379,7 +379,7 @@ end
--
function _add_target_vs_runtime(cmakelists, target)
local cmake_minver = _get_cmake_minver()
- if true then--cmake_minver:ge("3.15.0") then
+ if cmake_minver:ge("3.15.0") then
local vs_runtime = target:get("runtimes")
if vs_runtime then
cmakelists:print("if(MSVC)")