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()