diff options
| author | ruki <[email protected]> | 2022-11-24 00:51:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-11-24 00:51:00 +0800 |
| commit | 938183e9c09c62d10485e7aa4e2b94eab2756cd3 (patch) | |
| tree | 11488acbd1bfd60ddf54b84ecd98057e591780f7 | |
| parent | 782f3bcad9d24878e452a596d9c1c1cb2949819e (diff) | |
improve to find clang
| -rw-r--r-- | xmake/modules/detect/tools/find_clang.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/modules/detect/tools/find_clang.lua b/xmake/modules/detect/tools/find_clang.lua index 257343698..f3e9c389a 100644 --- a/xmake/modules/detect/tools/find_clang.lua +++ b/xmake/modules/detect/tools/find_clang.lua @@ -36,19 +36,11 @@ import("lib.detect.find_programver") -- @endcode -- function main(opt) - - -- init options opt = opt or {} - - -- find program local program = find_program(opt.program or "clang", opt) - - -- find program version local version = nil if program and opt and opt.version then version = find_programver(program, opt) end - - -- ok? return program, version end |
