summaryrefslogtreecommitdiff
path: root/xmake/modules/lib/detect/find_tool.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-06-20 12:38:44 +0800
committerruki <[email protected]>2020-06-20 12:38:44 +0800
commit281e06a020f7704fe998be52a6ecc2711cfd4fb7 (patch)
tree7296f3837d062dcdf6031b821dc6ea0ff1c8986d /xmake/modules/lib/detect/find_tool.lua
parent01dd21d4f3bccda1ff18ad1213b959feeaae37eb (diff)
improve to find cl/link
Diffstat (limited to 'xmake/modules/lib/detect/find_tool.lua')
-rw-r--r--xmake/modules/lib/detect/find_tool.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/lib/detect/find_tool.lua b/xmake/modules/lib/detect/find_tool.lua
index 7e40c0b0e..83f543ebf 100644
--- a/xmake/modules/lib/detect/find_tool.lua
+++ b/xmake/modules/lib/detect/find_tool.lua
@@ -41,7 +41,7 @@ end
-- @param name the tool name
-- @param opt the options, e.g. {program = "xcrun -sdk macosx clang", pathes = {"/usr/bin"},
-- check = function (tool) os.run("%s -h", tool) end, version = true
--- force = true, cachekey = "xxx"}
+-- force = true, cachekey = "xxx", envs = {PATH = "xxx"}}
--
-- @return {name = "", program = "", version = ""} or nil
--