Skip to content

Commit

Permalink
Merge pull request #184 from osrf/fix/remove-message-command
Browse files Browse the repository at this point in the history
Move message call outside of custom command call
  • Loading branch information
aaronchongth committed Jul 7, 2020
2 parents 6089828 + 6c384cf commit 5339c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_maps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ foreach(path ${traffic_editor_paths})
OUTPUT ${output_world_path}
)
else()
message("DOWNLOADING MODELS WITH COMMAND: ros2 run building_map_tools building_map_model_downloader ${map_path}")
add_custom_command(
DEPENDS ${map_path}
COMMAND ros2 run building_map_tools building_map_generator gazebo ${map_path} ${output_world_path} ${output_model_dir}
message("DOWNLOADING MODELS WITH COMMAND: ros2 run building_map_tools building_map_model_downloader ${map_path}")
COMMAND ros2 run building_map_tools building_map_model_downloader ${map_path}
OUTPUT ${output_world_path}
)
Expand Down

0 comments on commit 5339c24

Please sign in to comment.