File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ add_executable(sbp-to-ros
76
76
DEPENDENCIES std_msgs
77
77
)
78
78
79
- if (${FOUND_ROS2_DISTRO} STREQUAL "foxy" )
79
+ if (( ${FOUND_ROS2_DISTRO} STREQUAL "foxy" ) OR ( ${FOUND_ROS2_DISTRO} STREQUAL "galactic" ) )
80
80
rosidl_target_interfaces(sbp-to-ros ${PROJECT_NAME} "rosidl_typesupport_cpp" )
81
81
else ()
82
82
rosidl_get_typesupport_target(cpp_typesupport_target ${PROJECT_NAME} "rosidl_typesupport_cpp" )
@@ -148,7 +148,7 @@ if(BUILD_TESTING)
148
148
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /include >
149
149
)
150
150
151
- if (${FOUND_ROS2_DISTRO} STREQUAL "foxy" )
151
+ if (( ${FOUND_ROS2_DISTRO} STREQUAL "foxy" ) OR ( ${FOUND_ROS2_DISTRO} STREQUAL "galactic" ) )
152
152
rosidl_target_interfaces(${PROJECT_NAME} _test ${PROJECT_NAME} "rosidl_typesupport_cpp" )
153
153
else ()
154
154
rosidl_get_typesupport_target(cpp_typesupport_target ${PROJECT_NAME} "rosidl_typesupport_cpp" )
You can’t perform that action at this time.
0 commit comments