diff options
| author | ruki <[email protected]> | 2023-11-07 22:42:45 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-07 22:42:45 +0800 |
| commit | 4df9120342c6f958c42d7feb66480420555f498f (patch) | |
| tree | e66008625c87d24afc06f8c6b53acb288d5a14f5 | |
| parent | 76a01f93144fcb95c9c89c848c03627e535be5a0 (diff) | |
improve to find clang-cl
| -rw-r--r-- | xmake/modules/detect/tools/find_clang_cl.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/detect/tools/find_clang_cl.lua b/xmake/modules/detect/tools/find_clang_cl.lua index 3154484c0..3060cdc0b 100644 --- a/xmake/modules/detect/tools/find_clang_cl.lua +++ b/xmake/modules/detect/tools/find_clang_cl.lua @@ -40,6 +40,7 @@ function main(opt) opt = opt or {} -- find program + opt.envs = os.getenvs() -- get clang-cl from $PATH (LLVM/bin) first local program = find_program(opt.program or "clang-cl.exe", opt) -- find program version |
