summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tool/find_ml.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/detect/tool/find_ml.lua')
-rw-r--r--xmake/modules/detect/tool/find_ml.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tool/find_ml.lua b/xmake/modules/detect/tool/find_ml.lua
index b4407e452..da3f026ac 100644
--- a/xmake/modules/detect/tool/find_ml.lua
+++ b/xmake/modules/detect/tool/find_ml.lua
@@ -44,7 +44,7 @@ function main(opt)
opt = opt or {}
-- find program
- local program = find_program(opt.program or "ml.exe", {}, function (program) os.run(program) end)
+ local program = find_program(opt.program or "ml.exe", opt.pathes, opt.check or function (program) os.run(program) end)
-- find program version
local version = nil