[Bug 1035] New: find_package(orocos_kdl) does not include link directory

http://bugs.orocos.org/show_bug.cgi?id=1035

Summary: find_package(orocos_kdl) does not include link
directory
Product: KDL
Version: unspecified
Platform: All
OS/Version: GNU/Linux
Status: NEW
Severity: normal
Priority: P3
Component: Build system
AssignedTo: orocos-dev [..] ...
ReportedBy: ahendrix [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

When compiling against orocos_kdl using cmake, find_package(orocos_kdl) does
not set ${orocos_kdl_LIBRARIES} to include a library search flag (-L path) if
the library is not on the system path.

This breaks linking against orocos_kdl in ROS, and possibly in other systems
where orocos_kdl is installed to a non-standard prefix.

When running cmake on my system, I get:

Looking for KDL in: /opt/ros/hydro
Includes in: /opt/ros/hydro/include;/usr/include/eigen3
Compiler flags: -I/opt/ros/hydro/include;-I/usr/include/eigen3
Libraries: orocos-kdl
Libraries in: /opt/ros/hydro/lib
Linker flags :
Defines:

$ dpkg -l ros-hydro-orocos-kdl
...
ii ros-hydro-orocos-kdl 1.1.102-0precise-20130706-0134-+0000 ...

Ruben Smits's picture

[Bug 1035] find_package(orocos_kdl) does not include link direct

http://bugs.orocos.org/show_bug.cgi?id=1035

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |hersh [..] ...

Ruben Smits's picture

[Bug 1035] find_package(orocos_kdl) does not include link direct

http://bugs.orocos.org/show_bug.cgi?id=1035

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |ruben.smits@intermodalics.e
| |u
Resolution| |FIXED

Ruben Smits's picture

[Bug 1035] find_package(orocos_kdl) does not include link direct

http://bugs.orocos.org/show_bug.cgi?id=1035

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |vincent [dot] rabaud [..] ...

[Bug 1035] find_package(orocos_kdl) does not include link direct

http://bugs.orocos.org/show_bug.cgi?id=1035

Jon B <jbo [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |jbo [..] ...