Commit 57befb8 1 parent 279d129 commit 57befb8 Copy full SHA for 57befb8
File tree 3 files changed +11
-5
lines changed
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,13 @@ if(NOT _exported_typesupport_libraries STREQUAL "")
23
23
24
24
if (NOT _lib)
25
25
# the library wasn't found
26
- message (FATAL_ERROR "Package '@PROJECT_NAME@' exports the typesupport library '${_library} ' which couldn't be found" )
26
+ message (FATAL_ERROR
27
+ "Package '@PROJECT_NAME@' exports the typesupport library '${_library} ' which couldn't be found" )
27
28
elseif (NOT IS_ABSOLUTE "${_lib} " )
28
29
# the found library must be an absolute path
29
- message (FATAL_ERROR "Package '@PROJECT_NAME@' found the typesupport library '${_library} ' at '${_lib} ' which is not an absolute path" )
30
+ message (FATAL_ERROR
31
+ "Package '@PROJECT_NAME@' found the typesupport library '${_library} ' at '${_lib} ' "
32
+ "which is not an absolute path" )
30
33
elseif (NOT EXISTS "${_lib} " )
31
34
# the found library must exist
32
35
message (FATAL_ERROR "Package '@PROJECT_NAME@' found the typesupport library '${_lib} ' which doesn't exist" )
Original file line number Diff line number Diff line change @@ -34,10 +34,12 @@ function(rosidl_target_interfaces target interface_target typesupport_name)
34
34
"rosidl_target_interfaces() called with unused arguments: ${ARGN} " )
35
35
endif ()
36
36
if (NOT TARGET ${target} )
37
- message (FATAL_ERROR "rosidl_target_interfaces() the first argument '${target} ' must be a valid target name" )
37
+ message (FATAL_ERROR
38
+ "rosidl_target_interfaces() the first argument '${target} ' must be a valid target name" )
38
39
endif ()
39
40
if (NOT TARGET ${interface_target} )
40
- message (FATAL_ERROR "rosidl_target_interfaces() the second argument '${interface_target} ' must be a valid target name" )
41
+ message (FATAL_ERROR
42
+ "rosidl_target_interfaces() the second argument '${interface_target} ' must be a valid target name" )
41
43
endif ()
42
44
set (typesupport_target "${interface_target} __${typesupport_name} " )
43
45
if (NOT TARGET ${typesupport_target} )
Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ if(BUILD_TESTING)
53
53
find_package (ament_lint_auto REQUIRED)
54
54
find_package (performance_test_fixture REQUIRED)
55
55
# Give cppcheck hints about macro definitions coming from outside this package
56
- get_target_property (ament_cmake_cppcheck_ADDITIONAL_INCLUDE_DIRS performance_test_fixture::performance_test_fixture INTERFACE_INCLUDE_DIRECTORIES )
56
+ get_target_property (ament_cmake_cppcheck_ADDITIONAL_INCLUDE_DIRS performance_test_fixture::performance_test_fixture
57
+ INTERFACE_INCLUDE_DIRECTORIES )
57
58
ament_lint_auto_find_test_dependencies()
58
59
59
60
# For gtest
You can’t perform that action at this time.
0 commit comments