From eeb5859def4af28c3aa231dfe7be30fbc31bcfaf Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Mon, 11 Jan 2021 19:59:56 -0500 Subject: [PATCH] Change default RMW vendor to CycloneDDS. (#293) Signed-off-by: Chris Lalancette --- .../cmake/get_default_rmw_implementation.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rmw_implementation_cmake/cmake/get_default_rmw_implementation.cmake b/rmw_implementation_cmake/cmake/get_default_rmw_implementation.cmake index ca0d9fc4..451176d7 100644 --- a/rmw_implementation_cmake/cmake/get_default_rmw_implementation.cmake +++ b/rmw_implementation_cmake/cmake/get_default_rmw_implementation.cmake @@ -32,8 +32,8 @@ macro(get_default_rmw_implementation var) if("${RMW_IMPLEMENTATION}" STREQUAL "" AND "$ENV{RMW_IMPLEMENTATION}" STREQUAL "" ) - # prefer FastRTPS, otherwise first in alphabetical order - list(FIND _middleware_implementations "rmw_fastrtps_cpp" _index) + # prefer CycloneDDS, otherwise first in alphabetical order + list(FIND _middleware_implementations "rmw_cyclonedds_cpp" _index) if(NOT _index EQUAL -1) list(GET _middleware_implementations ${_index} _middleware_implementation) else()