diff options
| author | ruki <[email protected]> | 2021-09-29 00:44:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-29 00:44:34 +0800 |
| commit | 1123617bd848a2328493f39b53b97e3ce707e7b3 (patch) | |
| tree | 3b0fec2a91aaf4cdc4c9eb228d9af819a7e77e21 | |
| parent | f27971ea0d01415aa9cc7e4c69114149bccc15c1 (diff) | |
fix minver
| -rw-r--r-- | xmake/plugins/project/cmake/cmakelists.lua | 2 |
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)") |
