diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index 859af33dc68..3813932e652 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -805,9 +805,9 @@ function _build_for_make(package, configs, opt) end local jobs = _get_parallel_njobs(opt) table.insert(argv, "-j" .. jobs) - if option.get("diagnosis") then + --if option.get("diagnosis") then table.insert(argv, "VERBOSE=1") - end + --end if is_host("bsd") then os.vrunv("gmake", argv) elseif is_subhost("windows") and package:is_plat("mingw") then @@ -825,7 +825,7 @@ function _build_for_make(package, configs, opt) end os.vrunv(make, argv) else - os.vrunv("make", argv) + os.vexec("make", argv) end end