summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tools/find_renderdoc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/detect/tools/find_renderdoc.lua')
-rw-r--r--xmake/modules/detect/tools/find_renderdoc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_renderdoc.lua b/xmake/modules/detect/tools/find_renderdoc.lua
index 771fbcfd4..f8cb84381 100644
--- a/xmake/modules/detect/tools/find_renderdoc.lua
+++ b/xmake/modules/detect/tools/find_renderdoc.lua
@@ -40,7 +40,7 @@ function main(opt)
-- init options
opt = opt or {}
if is_host("windows") then
- opt.paths = opt.paths or {}
+ opt.paths = table.wrap(opt.paths)
-- add paths from registry
local regs =