summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tools/find_vswhere.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/detect/tools/find_vswhere.lua')
-rw-r--r--xmake/modules/detect/tools/find_vswhere.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/detect/tools/find_vswhere.lua b/xmake/modules/detect/tools/find_vswhere.lua
index 75efb6b6e..7576ceda2 100644
--- a/xmake/modules/detect/tools/find_vswhere.lua
+++ b/xmake/modules/detect/tools/find_vswhere.lua
@@ -55,6 +55,7 @@ function main(opt)
"$(env ProgramFiles%(x86%))\\Microsoft Visual Studio\\Installer",
"$(env ProgramFiles)\\Microsoft Visual Studio\\Installer"
}
+ opt.paths = table.wrap(opt.paths)
local program = find_program(opt.program or "vswhere.exe", opt)
-- find program version