fix multiple flag on compiling

This commit is contained in:
hathach
2024-11-27 11:10:06 +07:00
parent 63771086d9
commit 453d69517b
5 changed files with 11 additions and 5 deletions

View File

@@ -191,6 +191,7 @@ function(family_configure_target TARGET RTOS)
# compile define from command line
if(DEFINED CFLAGS_CLI)
separate_arguments(CFLAGS_CLI)
target_compile_options(${TARGET} PUBLIC ${CFLAGS_CLI})
endif()