Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Commit

Permalink
cleanup test build in constraint_samplers
Browse files Browse the repository at this point in the history
lint complained that REQUIRED was missing and orocos_kdl wasn't even include_dir'ed
  • Loading branch information
v4hn committed Jul 26, 2016
1 parent 52f34c7 commit 2773fd1
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions constraint_samplers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ install(DIRECTORY include/
DESTINATION include)

if(CATKIN_ENABLE_TESTING)
find_package(orocos_kdl)
find_package(angles)
find_package(tf_conversions)
find_package(orocos_kdl REQUIRED)
find_package(angles REQUIRED)
find_package(tf_conversions REQUIRED)

include_directories(${angles_INCLUDE_DIRS} ${tf_conversions_INCLUDE_DIRS})
include_directories(${orocos_kdl_INCLUDE_DIRS} ${angles_INCLUDE_DIRS} ${tf_conversions_INCLUDE_DIRS})

catkin_add_gtest(test_constraint_samplers
test/test_constraint_samplers.cpp
Expand All @@ -37,9 +37,12 @@ if(CATKIN_ENABLE_TESTING)
)
target_link_libraries(test_constraint_samplers
${MOVEIT_LIB_NAME}
${catkin_LIBRARIES} ${console_bridge_LIBRARIES} ${urdfdom_LIBRARIES} ${urdfdom_headers_LIBRARIES}
${orocos_kdl_LIBRARIES}
${catkin_LIBRARIES}
${angles_LIBRARIES}
${console_bridge_LIBRARIES}
${orocos_kdl_LIBRARIES}
${tf_conversions_LIBRARIES}
${urdfdom_LIBRARIES}
${urdfdom_headers_LIBRARIES}
)
endif()

0 comments on commit 2773fd1

Please sign in to comment.