Skip to content

Commit

Permalink
Shorten some excessively long lines of CMake (#648)
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 <logans@cottsay.net>
  • Loading branch information
cottsay authored Feb 12, 2021
1 parent 5d9afe6 commit 10fff0d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ macro(rosbag2_storage_register_storage_plugin target)
endforeach()

if(_ARG_SKIP_INSTALL)
ament_index_register_resource("rosbag2_storage_plugins" CONTENT ${_STORAGE_PLUGINS} AMENT_INDEX_BINARY_DIR "${CMAKE_BINARY_DIR}/ament_cmake_index_$<CONFIG>" SKIP_INSTALL)
ament_index_register_resource("rosbag2_storage_plugins" CONTENT ${_STORAGE_PLUGINS}
AMENT_INDEX_BINARY_DIR "${CMAKE_BINARY_DIR}/ament_cmake_index_$<CONFIG>"
SKIP_INSTALL)
else()
ament_index_register_resource("rosbag2_storage_plugins" CONTENT ${_STORAGE_PLUGINS})
endif()
Expand Down

0 comments on commit 10fff0d

Please sign in to comment.