Skip to content

Commit

Permalink
Shorten some excessively long lines of CMake (#300)
Browse files Browse the repository at this point in the history
The line length enforcement in ament_lint_cmake has been broken for some
time, but will be fixed by ament/ament_lint#236. This change brings this
package into compliance with a 120 column limit.

Signed-off-by: Scott K Logan <[email protected]>
  • Loading branch information
cottsay authored Feb 12, 2021
1 parent 4d4e831 commit ae0553a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ macro(get_default_rmw_implementation var)
list(FIND _middleware_implementations "${_middleware_implementation}" _index)
if(_index EQUAL -1)
string(REPLACE ";" ", " _middleware_implementations_string "${_middleware_implementations}")
message(FATAL_ERROR "Could not find ROS middleware implementation '${_middleware_implementation}'. Choose one of the following: ${_middleware_implementations_string}")
message(FATAL_ERROR
"Could not find ROS middleware implementation '${_middleware_implementation}'. "
"Choose one of the following: ${_middleware_implementations_string}")
endif()
find_package("${_middleware_implementation}" REQUIRED)

Expand Down

0 comments on commit ae0553a

Please sign in to comment.