diff options
| -rw-r--r-- | xmake/modules/detect/tools/find_wine.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/modules/detect/tools/find_wine.lua b/xmake/modules/detect/tools/find_wine.lua index 05119a88d..19481f320 100644 --- a/xmake/modules/detect/tools/find_wine.lua +++ b/xmake/modules/detect/tools/find_wine.lua @@ -36,19 +36,13 @@ import("lib.detect.find_programver") -- @endcode -- function main(opt) - -- init options opt = opt or {} - - -- find program local program = find_program(opt.program or "wine", opt) - -- find program version local version = nil if program and opt and opt.version then opt.parse = opt.parse or "wine%-(%d+%.%d+%.%d+)" version = find_programver(program, opt) end - - -- ok? return program, version end |
