Skip to content

Commit

Permalink
update msg_files to PARENT_SCOPE (PX4#22800)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha8a authored and Peize-Liu committed Mar 24, 2024
1 parent 3ead63a commit 61a59be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions msg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ foreach(msg_file ${msg_files})
list(APPEND uorb_json_files ${msg_source_out_path}/${msg}.json)
endforeach()

# set parent scope msg_files for ROS
set(msg_files ${msg_files} PARENT_SCOPE)

# Generate uORB headers
add_custom_command(
OUTPUT
Expand Down

0 comments on commit 61a59be

Please sign in to comment.