diff --git a/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c_generate_interfaces.cmake b/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c_generate_interfaces.cmake index 4a761ad..7e093a4 100644 --- a/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c_generate_interfaces.cmake +++ b/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c_generate_interfaces.cmake @@ -91,7 +91,7 @@ add_custom_command( # generate header to switch between export and import for a specific package set(_visibility_control_file -"${_output_path}/msg/rosidl_typesupport_fastrtps_c__visibility_control.h") + "${_output_path}/msg/rosidl_typesupport_fastrtps_c__visibility_control.h") string(TOUPPER "${PROJECT_NAME}" PROJECT_NAME_UPPER) configure_file( "${rosidl_typesupport_fastrtps_c_TEMPLATE_DIR}/rosidl_typesupport_fastrtps_c__visibility_control.h.in" @@ -110,7 +110,7 @@ endif() set_target_properties(${rosidl_generate_interfaces_TARGET}${_target_suffix} PROPERTIES DEFINE_SYMBOL "ROSIDL_TYPESUPPORT_FASTRTPS_C_BUILDING_DLL_${PROJECT_NAME}" - CXX_STANDARD 14) + CXX_STANDARD 17) target_link_libraries(${rosidl_generate_interfaces_TARGET}${_target_suffix} PUBLIC fastcdr diff --git a/rosidl_typesupport_fastrtps_cpp/cmake/rosidl_typesupport_fastrtps_cpp_generate_interfaces.cmake b/rosidl_typesupport_fastrtps_cpp/cmake/rosidl_typesupport_fastrtps_cpp_generate_interfaces.cmake index 4b62618..e8413c2 100644 --- a/rosidl_typesupport_fastrtps_cpp/cmake/rosidl_typesupport_fastrtps_cpp_generate_interfaces.cmake +++ b/rosidl_typesupport_fastrtps_cpp/cmake/rosidl_typesupport_fastrtps_cpp_generate_interfaces.cmake @@ -102,7 +102,7 @@ add_custom_command( # generate header to switch between export and import for a specific package set(_visibility_control_file -"${_output_path}/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h") + "${_output_path}/msg/rosidl_typesupport_fastrtps_cpp__visibility_control.h") string(TOUPPER "${PROJECT_NAME}" PROJECT_NAME_UPPER) configure_file( "${rosidl_typesupport_fastrtps_cpp_TEMPLATE_DIR}/rosidl_typesupport_fastrtps_cpp__visibility_control.h.in" @@ -125,7 +125,7 @@ endif() set_target_properties(${rosidl_generate_interfaces_TARGET}${_target_suffix} PROPERTIES DEFINE_SYMBOL "ROSIDL_TYPESUPPORT_FASTRTPS_CPP_BUILDING_DLL_${PROJECT_NAME}" - CXX_STANDARD 14) + CXX_STANDARD 17) # Set compiler flags if(NOT WIN32)