File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
rosidl_generator_rs/cmake Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,6 @@ file(MAKE_DIRECTORY "${_output_path}")
115
115
116
116
set (_target_suffix "__rs" )
117
117
118
- ament_index_register_resource ("rust_packages" )
119
-
120
-
121
118
# needed to avoid multiple calls to the Rust generator trick copied from
122
119
# https://github.com/ros2/rosidl/blob/master/rosidl_generator_py/cmake/rosidl_generator_py_generate_interfaces.cmake
123
120
set (_subdir "${CMAKE_CURRENT_BINARY_DIR} /${rosidl_generate_interfaces_TARGET}${_target_suffix} " )
@@ -137,6 +134,7 @@ set_property(
137
134
138
135
set (_rsext_suffix "__rsext" )
139
136
if (NOT rosidl_generate_interfaces_SKIP_INSTALL )
137
+ ament_index_register_resource ("rust_packages" )
140
138
install (
141
139
DIRECTORY "${_output_path} /rust"
142
140
DESTINATION "share/${PROJECT_NAME} "
You can’t perform that action at this time.
0 commit comments