From ad50afda1062b2e32de309c0e44f8389c009835c Mon Sep 17 00:00:00 2001 From: Alexander Lampalzer Date: Wed, 13 Mar 2024 09:34:47 +0100 Subject: [PATCH] update msg_files to PARENT_SCOPE (#22800) --- msg/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/msg/CMakeLists.txt b/msg/CMakeLists.txt index 0f31ffca2a..3b1e2647e3 100644 --- a/msg/CMakeLists.txt +++ b/msg/CMakeLists.txt @@ -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