Skip to content

Commit

Permalink
Use find_package(ypspur) instead of catkin_package. (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat authored Jul 31, 2017
1 parent 5e8ede5 commit 4fa2bd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,14 @@ generate_messages(

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

find_package(ypspur)

###########
## Build ##
###########


include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X)
Expand All @@ -58,6 +57,7 @@ endif()

include_directories(
${catkin_INCLUDE_DIRS}
${ypspur_INCLUDE_DIRS}
)

add_executable(ypspur_ros src/ypspur_ros.cpp)
Expand Down

0 comments on commit 4fa2bd9

Please sign in to comment.