[cmake] make UART RAW config visible in daemon mode (#5535)

This fixes UART RAW mode not enabled in ot-br-posix.
This commit is contained in:
Jiacheng Guo
2020-09-16 08:01:32 -07:00
committed by GitHub
parent d9b82f8b97
commit ef72bb65e1
2 changed files with 4 additions and 4 deletions
+4
View File
@@ -26,6 +26,10 @@
# POSSIBILITY OF SUCH DAMAGE.
#
target_compile_definitions(ot-config INTERFACE
OPENTHREAD_CONFIG_UART_CLI_RAW=1
)
set(COMMON_INCLUDES
${OT_PUBLIC_INCLUDES}
${PROJECT_SOURCE_DIR}/src
-4
View File
@@ -26,10 +26,6 @@
# POSSIBILITY OF SUCH DAMAGE.
#
target_compile_definitions(ot-config INTERFACE
OPENTHREAD_CONFIG_UART_CLI_RAW=1
)
add_executable(ot-cli
main.c
$<$<BOOL:${READLINE}>:console_cli.cpp>