diff options
| author | ruki <[email protected]> | 2024-05-11 23:52:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-05-11 23:52:55 +0800 |
| commit | 7bb2f2bd64d17d2f2c6759b278517c4639241d2a (patch) | |
| tree | 991f61ac881496d9389cf48f2a0bd0df4be82594 | |
| parent | abd7b7fa4544bfe43fad829389e5e602e253631e (diff) | |
improve to find_vstudio
| -rw-r--r-- | xmake/modules/detect/sdks/find_vstudio.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua index f25f582cc..31180e13b 100644 --- a/xmake/modules/detect/sdks/find_vstudio.lua +++ b/xmake/modules/detect/sdks/find_vstudio.lua @@ -440,6 +440,9 @@ function main(opt) if opt.vcvars_ver then key = key .. opt.vcvars_ver end + if opt.sdkver then + key = key .. opt.sdkver + end -- attempt to get it from the global cache first local vstudio = global_detectcache:get2(key, "msvc") |
