From 4d77fefe0a1357f4d18a1128b102e1f6a306783e Mon Sep 17 00:00:00 2001 From: Jonathan Bohren Date: Sun, 23 Mar 2014 14:21:51 -0400 Subject: [PATCH] kdl_parser: Adding kdl library explicitly so that dependees can find it --- kdl_parser/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kdl_parser/CMakeLists.txt b/kdl_parser/CMakeLists.txt index ebd7eb3..eedaf8a 100644 --- a/kdl_parser/CMakeLists.txt +++ b/kdl_parser/CMakeLists.txt @@ -17,8 +17,10 @@ link_directories(${catkin_LIBRARY_DIRS}) link_directories(${orocos_kdl_LIBRARY_DIRS}) link_directories(${Boost_LIBRARY_DIRS}) +find_library(KDL_LIBRARY REQUIRED NAMES orocos-kdl HINTS ${orocos_kdl_LIBRARY_DIRS}) + catkin_package( - LIBRARIES ${PROJECT_NAME} + LIBRARIES ${PROJECT_NAME} ${KDL_LIBRARY} INCLUDE_DIRS include CATKIN_DEPENDS roscpp rosconsole urdf DEPENDS orocos_kdl TinyXML