diff options
| author | chooyy <[email protected]> | 2025-09-17 15:55:26 +0800 |
|---|---|---|
| committer | chooyy <[email protected]> | 2025-09-17 15:55:26 +0800 |
| commit | 568bf96e1e19a1eae4da68d78e77a2e08080e1f6 (patch) | |
| tree | c6e4b1a6b4a5e6596911b612949843f07371fd1f /xmake/modules | |
| parent | 37e64cd80c7793a12b76f20b62fc98687843d9ca (diff) | |
clean undefined vsvers
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 1 | ||||
| -rw-r--r-- | xmake/modules/private/action/trybuild/cmake.lua | 1 |
2 files changed, 0 insertions, 2 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 diff --git a/xmake/modules/private/action/trybuild/cmake.lua b/xmake/modules/private/action/trybuild/cmake.lua index 377c9c66e..c5b807fb9 100644 --- a/xmake/modules/private/action/trybuild/cmake.lua +++ b/xmake/modules/private/action/trybuild/cmake.lua @@ -396,7 +396,6 @@ end -- get cmake generator for msvc function _get_cmake_generator_for_msvc() local vs = _get_msvc():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 |
