Skip to content

Commit

Permalink
Added rosdep key for ignition-edifice, made it a mandatory dependency (
Browse files Browse the repository at this point in the history
…#31)

Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova authored Aug 18, 2021
1 parent a80cb6e commit 7e981e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 2 additions & 7 deletions rmf_building_sim_ignition_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,8 @@ if (NOT ignition-cmake2_FOUND)
message("ignition-cmake not found, skipping ignition gazebo plugins")
return()
endif()
ign_find_package(ignition-gazebo5 QUIET)
if (NOT ignition-gazebo5_FOUND)
message("Wrong ignition-gazebo version found. Plugins require ignition-gazebo5 (edifice)")
# To generate a setup.bash and avoid CMake warnings
ament_package()
return()
endif()

ign_find_package(ignition-gazebo5 REQUIRED)
set(IGN_GAZEBO_VER 5)
ign_find_package(ignition-plugin1 REQUIRED COMPONENTS register)
set(IGN_PLUGIN_VER 1)
Expand Down
1 change: 1 addition & 0 deletions rmf_building_sim_ignition_plugins/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<depend>libqt5-qml</depend>
<depend>libqt5-quick</depend>
<depend>menge_vendor</depend>
<depend>ignition-edifice</depend>

<export>
<build_type>ament_cmake</build_type>
Expand Down

0 comments on commit 7e981e4

Please sign in to comment.