diff options
| -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") |
