summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRedbeanw44602 <[email protected]>2025-05-15 14:17:54 +0800
committerRedbeanw44602 <[email protected]>2025-05-15 14:17:54 +0800
commit28b6fd526b3d74a2462fac6bbb0c9204402ef59f (patch)
tree286068975c0c73036eb6ba7174627a117e7c0919
parentb4a18456875c787cce8a902b861b1e455eddc54d (diff)
add missing linkdirs.
-rw-r--r--xmake/modules/detect/sdks/find_vstudio.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua
index fe5eece41..2e5b6d5c9 100644
--- a/xmake/modules/detect/sdks/find_vstudio.lua
+++ b/xmake/modules/detect/sdks/find_vstudio.lua
@@ -148,7 +148,7 @@ function find_build_tools(opt)
local includedirs = {
path.join(variables.VCToolsInstallDir, "include"),
- path.join(variables.VCToolsInstallDir, "atlmfc/include"),
+ path.join(variables.VCToolsInstallDir, "atlmfc", "include"),
path.join(variables.WindowsSdkDir, "Include", WindowsSDKVersion, "ucrt"),
path.join(variables.WindowsSdkDir, "Include", WindowsSDKVersion, "shared"),
path.join(variables.WindowsSdkDir, "Include", WindowsSDKVersion, "um"),
@@ -158,8 +158,10 @@ function find_build_tools(opt)
local linkdirs = {
path.join(variables.VCToolsInstallDir, "lib"),
+ path.join(variables.VCToolsInstallDir, "atlmfc", "lib"),
path.join(variables.WindowsSdkDir, "Lib", WindowsSDKVersion, "ucrt"),
path.join(variables.WindowsSdkDir, "Lib", WindowsSDKVersion, "um"),
+ path.join(variables.WindowsSdkDir, "Lib", WindowsSDKVersion, "km"),
}
local archs = {