summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tools/find_dxc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/detect/tools/find_dxc.lua')
-rw-r--r--xmake/modules/detect/tools/find_dxc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/detect/tools/find_dxc.lua b/xmake/modules/detect/tools/find_dxc.lua
index 3bded84c3..1563a6ec4 100644
--- a/xmake/modules/detect/tools/find_dxc.lua
+++ b/xmake/modules/detect/tools/find_dxc.lua
@@ -43,6 +43,7 @@ function main(opt)
"$(env VK_SDK_PATH)/Bin",
"$(env PATH)"
}
+ opt.paths = table.wrap(opt.paths)
local program = find_program(opt.program or "dxc.exe", opt)
local version = nil
if program and opt and opt.version then