Skip to content

Commit

Permalink
[Indigo] cleanup urdfdom compatibility (cherry-picking moveit#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke authored and 130s committed Jan 31, 2017
1 parent f30ad74 commit ceccd59
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ include_directories(SYSTEM ${Boost_INCLUDE_DIR})
find_package(console_bridge REQUIRED)
find_package(urdfdom_headers REQUIRED)

find_package(catkin REQUIRED COMPONENTS cmake_modules urdfdom_py)
find_package(catkin REQUIRED COMPONENTS cmake_modules urdf urdfdom_py)

find_package(TinyXML REQUIRED)

include_directories(include ${TinyXML_INCLUDE_DIRS} ${catkin_INCLUDE_DIRS} ${console_bridge_INCLUDE_DIRS} ${urdfdom_headers_INCLUDE_DIRS})
link_directories(${catkin_LIBRARY_DIRS})

add_compile_options(-std=c++11)

catkin_python_setup()

catkin_package(
Expand Down
2 changes: 1 addition & 1 deletion include/srdfdom/model.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <string>
#include <vector>
#include <utility>
#include <urdf_model/model.h>
#include <urdf/model.h>
#include <boost/shared_ptr.hpp>
#include <tinyxml.h>

Expand Down
1 change: 1 addition & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<build_depend>boost</build_depend>
<build_depend>cmake_modules</build_depend>
<build_depend>libconsole-bridge-dev</build_depend>
<build_depend>urdf</build_depend>
<build_depend>liburdfdom-headers-dev</build_depend>
<build_depend>urdfdom_py</build_depend>
<build_depend>tinyxml</build_depend>
Expand Down

0 comments on commit ceccd59

Please sign in to comment.