diff --git a/rosbag2_storage/cmake/rosbag2_storage_register_storage_plugin.cmake b/rosbag2_storage/cmake/rosbag2_storage_register_storage_plugin.cmake index 2b9186cb00..c7f44c747f 100644 --- a/rosbag2_storage/cmake/rosbag2_storage_register_storage_plugin.cmake +++ b/rosbag2_storage/cmake/rosbag2_storage_register_storage_plugin.cmake @@ -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_$" SKIP_INSTALL) + ament_index_register_resource("rosbag2_storage_plugins" CONTENT ${_STORAGE_PLUGINS} + AMENT_INDEX_BINARY_DIR "${CMAKE_BINARY_DIR}/ament_cmake_index_$" + SKIP_INSTALL) else() ament_index_register_resource("rosbag2_storage_plugins" CONTENT ${_STORAGE_PLUGINS}) endif()