Skip to content

Commit

Permalink
Use CMake version of ypspur. (#10)
Browse files Browse the repository at this point in the history
Also, fix dummy dependency to system_lib.
  • Loading branch information
at-wat authored Jul 31, 2017
1 parent 1315c34 commit 5e8ede5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,9 @@ generate_messages(

catkin_package(
CATKIN_DEPENDS geometry_msgs nav_msgs roscpp rospy std_msgs tf
DEPENDS system_lib
DEPENDS ypspur
)

find_library(HAS_YPSPUR_LIBRARY NAMES ypspur libypspur)
if(NOT HAS_YPSPUR_LIBRARY)
message(FATAL_ERROR "YP-Spur not found. See https://openspur.org/redmine/projects/ypspur/ .")
endif()

###########
## Build ##
Expand Down
3 changes: 3 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@
<build_depend>rospy</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>tf</build_depend>
<build_depend>ypspur</build_depend>

<run_depend>geometry_msgs</run_depend>
<run_depend>sensor_msgs</run_depend>
<run_depend>nav_msgs</run_depend>
<run_depend>roscpp</run_depend>
<run_depend>rospy</run_depend>
<run_depend>std_msgs</run_depend>
<run_depend>tf</run_depend>
<run_depend>ypspur</run_depend>


<export>
Expand Down

0 comments on commit 5e8ede5

Please sign in to comment.