refactoring
This commit is contained in:
parent
02cb3ebc5f
commit
9c2149e5ef
1 changed files with 2 additions and 2 deletions
|
@ -18,13 +18,13 @@ if("${_dds_vendor}" STREQUAL "connext")
|
||||||
if("${_dds_type}" STREQUAL "dynamic")
|
if("${_dds_type}" STREQUAL "dynamic")
|
||||||
ament_export_dependencies(ros_dds_connext_dynamic)
|
ament_export_dependencies(ros_dds_connext_dynamic)
|
||||||
elseif("${_dds_type}" STREQUAL "static")
|
elseif("${_dds_type}" STREQUAL "static")
|
||||||
ament_export_dependencies(rosidl_generator_dds_connext_cpp ros_dds_connext_static)
|
ament_export_dependencies(rosidl_typesupport_connext_cpp ros_middleware_connext_cpp)
|
||||||
endif()
|
endif()
|
||||||
elseif("${_dds_vendor}" STREQUAL "opensplice")
|
elseif("${_dds_vendor}" STREQUAL "opensplice")
|
||||||
if("${_dds_type}" STREQUAL "dynamic")
|
if("${_dds_type}" STREQUAL "dynamic")
|
||||||
message(FATAL_ERROR "The DDS implementation '${_dds_vendor}' does not support the type '${_dds_type}'.")
|
message(FATAL_ERROR "The DDS implementation '${_dds_vendor}' does not support the type '${_dds_type}'.")
|
||||||
elseif("${_dds_type}" STREQUAL "static")
|
elseif("${_dds_type}" STREQUAL "static")
|
||||||
ament_export_dependencies(rosidl_generator_dds_opensplice_cpp)
|
ament_export_dependencies(rosidl_typesupport_opensplice_cpp)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "Set the environment variable 'ROS_DDS_IMPLEMENTATION' to either 'connext' or 'opensplice'.")
|
message(FATAL_ERROR "Set the environment variable 'ROS_DDS_IMPLEMENTATION' to either 'connext' or 'opensplice'.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue