summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Reilly <[email protected]>2020-09-16 10:41:58 +0100
committerPaul Reilly <[email protected]>2020-09-16 10:41:58 +0100
commitb3368f5e6066725ea4ed291507b82e35db0d9f54 (patch)
tree15d39a75581950caa6afa43c89896e1b6f468b51
parentef86cee77a2cb6cdb3449b48ce33cb8123933a8c (diff)
make find_package success log more explicit
-rw-r--r--xmake/modules/lib/detect/find_package.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/lib/detect/find_package.lua b/xmake/modules/lib/detect/find_package.lua
index 784920a2d..a52c894f2 100644
--- a/xmake/modules/lib/detect/find_package.lua
+++ b/xmake/modules/lib/detect/find_package.lua
@@ -83,9 +83,9 @@ function main(name, opt)
-- trace
if opt.verbose or option.get("verbose") then
if result then
- cprint("checking for the %s ... ${color.success}%s", name, result.version and result.version or "${text.success}")
+ cprint("checking for %s ... ${color.success}using %s %s", name, name, result.version and result.version or "")
else
- cprint("checking for the %s ... ${color.nothing}${text.nothing}", name)
+ cprint("checking for %s ... ${color.nothing}${text.nothing}", name)
end
end