Skip to content

Commit

Permalink
Address peer review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno committed May 14, 2020
1 parent ee57927 commit 7c1af45
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Expand Up @@ -14,8 +14,8 @@

if(NOT rosidl_generator_c_FOUND)
message(FATAL_ERROR
"Executing rosidl_typesupport_introspection_c extension point when rosidl_generator_c wasn't found."
"Make sure rosidl_generator_c is installed.")
"'rosidl_generator_c' not found when executing "
"'rosidl_typesupport_introspection_c' extension.")
endif()

set(_output_path
Expand Down
Expand Up @@ -6,10 +6,10 @@
set(rosidl_typesupport_introspection_c_LIBRARY_TYPE
"@rosidl_typesupport_introspection_c_LIBRARY_TYPE@")

find_package(ament_cmake_core QUIET REQUIRED)
# Make sure rosidl_generator_c extension point is registered first
find_package(rosidl_generator_c QUIET)

find_package(ament_cmake_core QUIET REQUIRED)
ament_register_extension(
"rosidl_generate_idl_interfaces"
"rosidl_typesupport_introspection_c"
Expand Down
Expand Up @@ -14,8 +14,8 @@

if(NOT rosidl_generator_c_FOUND)
message(FATAL_ERROR
"Executing rosidl_typesupport_introspection_cpp extension point when rosidl_generator_c wasn't found."
"Make sure rosidl_generator_cpp is installed.")
"'rosidl_generator_cpp' not found when executing "
"'rosidl_typesupport_introspection_cpp' extension.")
endif()

set(_output_path
Expand Down
Expand Up @@ -6,11 +6,10 @@
set(rosidl_typesupport_introspection_cpp_LIBRARY_TYPE
"@rosidl_typesupport_introspection_cpp_LIBRARY_TYPE@")

find_package(ament_cmake_core QUIET REQUIRED)

# Make sure extension points are registered in order
find_package(rosidl_generator_cpp QUIET)

find_package(ament_cmake_core QUIET REQUIRED)
ament_register_extension(
"rosidl_generate_idl_interfaces"
"rosidl_typesupport_introspection_cpp"
Expand Down

0 comments on commit 7c1af45

Please sign in to comment.