diff options
| author | ruki <[email protected]> | 2022-04-01 00:59:29 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-04-01 00:59:29 +0800 |
| commit | 32e8ae94db5070246ec8d4dfa8c024376ff32872 (patch) | |
| tree | 0e55d6d50d5038df7933604d31c4fa2ae485dadb /xmake/modules | |
| parent | 064a55f2639510ef34e967ce64589531bab1afc6 (diff) | |
improve to find zig c++
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/detect/tools/find_zig_cxx.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/modules/detect/tools/find_zig_cxx.lua b/xmake/modules/detect/tools/find_zig_cxx.lua index d9e63e7de..9864df069 100644 --- a/xmake/modules/detect/tools/find_zig_cxx.lua +++ b/xmake/modules/detect/tools/find_zig_cxx.lua @@ -36,14 +36,8 @@ import("lib.detect.find_programver") -- @endcode -- function main(opt) - - -- init options opt = opt or {} - - -- find program local program = find_program(opt.program or "zig c++", opt) - - -- find program version local version = nil if program and opt.version then version = find_programver(program, opt) |
