summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/package/tools/cmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index d924bfb6d..3e48fee40 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -406,6 +406,7 @@ end
function _get_cmake_generator_for_msvc(package)
local vsvers =
{
+ ["2022"] = "17",
["2019"] = "16",
["2017"] = "15",
["2015"] = "14",