[cmake] support setting log level (#5433)

This commit is contained in:
Yakun Xu
2020-08-20 10:37:54 -07:00
committed by GitHub
parent e438c2e383
commit d6fb9de9f3
3 changed files with 18 additions and 2 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ EXAMPLES:
do_package()
{
local builddir
local options=("-DCMAKE_BUILD_TYPE=Release")
local options=("-DCMAKE_BUILD_TYPE=Release" "-DOT_LOG_LEVEL=INFO")
if [[ ${ot_extra_options[*]+x} ]]; then
options+=("${ot_extra_options[@]}")