Skip to content

Commit 720b998

Browse files
committed
cmake: add target dependency to run target
1 parent 81a17fd commit 720b998

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cmake/modules/myci.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,7 @@ function(myci_declare_application name)
12451245

12461246
# declare run-<name> target
12471247
add_custom_target(run-${name})
1248+
add_dependencies(run-${name} ${name})
12481249

12491250
add_custom_command(TARGET run-${name}
12501251
POST_BUILD

0 commit comments

Comments
 (0)