diff options
Diffstat (limited to 'xmake/modules/detect/packages/find_vulkansdk.lua')
| -rw-r--r-- | xmake/modules/detect/packages/find_vulkansdk.lua | 4 |
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 |
