summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/cmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/package/tools/cmake.lua')
-rw-r--r--xmake/modules/package/tools/cmake.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index 684c522e8..323219c72 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -711,7 +711,6 @@ end
-- get cmake generator for msvc
function _get_cmake_generator_for_msvc(package)
local vs = _get_msvc(package):config("vs") or config.get("vs")
- assert(vsvers[vs], "Unknown Visual Studio version: '" .. tostring(vs) .. "' set in project.")
return "Visual Studio " .. toolchain_utils.get_vsver(vs) .. " " .. vs
end