cmake: Fix 'run' command of native_posix
The 'run' target was missing it's dependency on the executable and thereby behaving incorrectly. This fixes #10639 . Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
parent
66a259a22a
commit
7f99086d64
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
add_custom_target(run
|
||||
COMMAND
|
||||
${APPLICATION_BINARY_DIR}/zephyr/${KERNEL_EXE_NAME}
|
||||
DEPENDS ${logical_target_for_zephyr_elf}
|
||||
WORKING_DIRECTORY ${APPLICATION_BINARY_DIR}
|
||||
USES_TERMINAL
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue