summaryrefslogtreecommitdiff
path: root/xmake/modules/detect
diff options
context:
space:
mode:
authorstar9029 <[email protected]>2024-11-18 18:47:54 +0800
committerstar9029 <[email protected]>2024-11-18 18:47:54 +0800
commit58ed60423aedaf6197d3e48b96740e52fc826c54 (patch)
tree7eb33f78129ea0b081accd9d0b83830e950f669c /xmake/modules/detect
parent830e6580042a1a84dae0a6b7ebb1a988814630db (diff)
fix clang on linux
Diffstat (limited to 'xmake/modules/detect')
-rw-r--r--xmake/modules/detect/sdks/find_vstudio.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua
index b65f5e660..45eb2820e 100644
--- a/xmake/modules/detect/sdks/find_vstudio.lua
+++ b/xmake/modules/detect/sdks/find_vstudio.lua
@@ -126,7 +126,7 @@ function find_build_tools(opt)
local tmp_version
local WindowsSDKVersion
- local WindowsSDKVersionsDirs = os.dirs(path.join(sdkdir, "Windows Kits/10/bin/*"))
+ local WindowsSDKVersionsDirs = os.dirs(path.join(sdkdir, "Windows Kits/10/Lib/*"))
for _, dir in ipairs(WindowsSDKVersionsDirs) do
local ver = path.filename(dir)
if ver == opt.vs_sdkver then