Is this a problem with cmake or with my setup?

Brad King brad.king at kitware.com
Wed Aug 4 23:28:23 CEST 2010


On 08/03/2010 06:45 PM, Michael Jansen wrote:
> 1. Where does that list after rpath-link come from?

CMake computes it based on the known shared library implementation
dependencies.  For targets built in the tree these come from their
full list of libraries used for linking (not the link interface).
For imported targets these come from a target property called

  IMPORTED_LINK_DEPENDENT_LIBRARIES

The property should be set when the imported target is created.
CMake's install(EXPORT) command copies the shared library
dependency information into the above property when exporting
a shared library target.



More information about the Kde-buildsystem mailing list