diff options
| author | ruki <[email protected]> | 2022-09-23 12:26:58 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-09-23 12:26:58 +0800 |
| commit | e7dccdf5eb397d31031d242bc5d39990bdc370de (patch) | |
| tree | cb68fceb2011c864529c910422dba7b03b02bead /xmake/modules/package/tools/cmake.lua | |
| parent | 766f61852a6665a6c180baf37518f7ea988e48e3 (diff) | |
| parent | 31e4124be2ae66eb10ac43f0b673ee1728104a67 (diff) | |
Merge pull request #2858 from xmake-io/trybuild
Improve trybuild to build 3rd source library using xmake-repo scripts
Diffstat (limited to 'xmake/modules/package/tools/cmake.lua')
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 4 |
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 |
