summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/packages
diff options
context:
space:
mode:
authorxq114 <[email protected]>2022-09-05 23:12:10 +0800
committerxq114 <[email protected]>2022-09-05 23:12:10 +0800
commitfbdcc61009d3dbf37720babcb044d161077f7e16 (patch)
treef10f77c4204262e01745fc9ebd68f6af67b8d777 /xmake/modules/detect/packages
parent80d10b758c80eb49fc46f1aab57c013baf278ed5 (diff)
improve arch detection
Diffstat (limited to 'xmake/modules/detect/packages')
-rw-r--r--xmake/modules/detect/packages/find_vulkansdk.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/detect/packages/find_vulkansdk.lua b/xmake/modules/detect/packages/find_vulkansdk.lua
index efce6adeb..451a9c8ac 100644
--- a/xmake/modules/detect/packages/find_vulkansdk.lua
+++ b/xmake/modules/detect/packages/find_vulkansdk.lua
@@ -28,6 +28,6 @@ import("detect.sdks.find_vulkansdk")
-- @return see the return value of find_package()
--
function main(opt)
-
- return find_vulkansdk()
+ opt = opt or {}
+ return find_vulkansdk({arch = opt.arch})
end