summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/cmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-09-23 23:04:26 +0800
committerruki <[email protected]>2022-09-23 23:04:26 +0800
commit31e4124be2ae66eb10ac43f0b673ee1728104a67 (patch)
treecb68fceb2011c864529c910422dba7b03b02bead /xmake/modules/package/tools/cmake.lua
parent81b9a331623e03c13eecc3c86db48b9cecc81d6b (diff)
improve verbose info
Diffstat (limited to 'xmake/modules/package/tools/cmake.lua')
-rw-r--r--xmake/modules/package/tools/cmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index a9223ce85..30f809671 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -649,7 +649,7 @@ function _build_for_make(package, configs, opt)
end
local jobs = _get_parallel_njobs(opt)
table.insert(argv, "-j" .. jobs)
- if option.get("verbose") then
+ if option.get("diagnosis") then
table.insert(argv, "VERBOSE=1")
end
if is_host("bsd") then
@@ -727,7 +727,7 @@ end
function _install_for_make(package, configs, opt)
local jobs = _get_parallel_njobs(opt)
local argv = {"-j" .. jobs}
- if option.get("verbose") then
+ if option.get("diagnosis") then
table.insert(argv, "VERBOSE=1")
end
if is_host("bsd") then