From 31e4124be2ae66eb10ac43f0b673ee1728104a67 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 23 Sep 2022 23:04:26 +0800 Subject: improve verbose info --- xmake/modules/package/tools/cmake.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/modules/package/tools/cmake.lua') 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 -- cgit v1.3.1