diff options
| author | ruki <[email protected]> | 2025-12-02 23:54:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-02 23:54:00 +0800 |
| commit | 956e77ac4bceffe0c95b7c56996f6e289912ba4f (patch) | |
| tree | b5c82945233d64e8f7f2e97ccb7cf699a98824cd /xmake/rules/c++/config/dynamic_debugging.lua | |
| parent | f6c27a1627889450191607fd7181c466d953e4c7 (diff) | |
fix compare version error
Diffstat (limited to 'xmake/rules/c++/config/dynamic_debugging.lua')
| -rw-r--r-- | xmake/rules/c++/config/dynamic_debugging.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/config/dynamic_debugging.lua b/xmake/rules/c++/config/dynamic_debugging.lua index 60fb86f7c..b9ea4716a 100644 --- a/xmake/rules/c++/config/dynamic_debugging.lua +++ b/xmake/rules/c++/config/dynamic_debugging.lua @@ -65,7 +65,7 @@ function main(target, sourcekind) end local version = vcvars.VCToolsVersion - if not version or not semver.compare(version, "19.44") >= 0 then + if not version or semver.compare(version, "19.44") < 0 then wprint("C++ Dynamic Debugging requires MSVC 19.44+, found: %s", version or "unknown") return end |
