From 31ebfe234e014fdc8a9ff5032bc22fa0075f9b3f Mon Sep 17 00:00:00 2001 From: Peter Soetens Date: Wed, 22 Dec 2010 09:51:23 +0100 Subject: [PATCH] typelib: link ROS libs with libname_typelib Signed-off-by: Peter Soetens --- .../templates/typekit/typelib/CMakeLists.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/orogen/templates/typekit/typelib/CMakeLists.txt b/lib/orogen/templates/typekit/typelib/CMakeLists.txt index fb589e6..8554e40 100644 --- a/lib/orogen/templates/typekit/typelib/CMakeLists.txt +++ b/lib/orogen/templates/typekit/typelib/CMakeLists.txt @@ -26,7 +26,7 @@ if ( ROS_ROOT ) rosbuild_find_ros_package( roslib ) include_directories( ${roslib_PACKAGE_PATH}/include ) find_library(ROS_LIB roslib ${roslib_PACKAGE_PATH}/lib ) - TARGET_LINK_LIBRARIES( ${libname} ${ROS_LIB} ) + TARGET_LINK_LIBRARIES( ${libname_typelib} ${ROS_LIB} ) ADD_DEFINITIONS( -DHAS_ROSLIB ) endif( ROS_ROOT ) -- 1.7.0.4