[CMake] TARGET_LINK_LIBRARIES question

a.neundorf-work at gmx.net a.neundorf-work at gmx.net
Tue Apr 10 14:30:24 EDT 2007


On Tuesday 10 April 2007 20:22, david.rhoda at kodak.com wrote:
> I would like to be able to add the full path to the library via
> TARGET_LINK_LIBRARIES.  I have looked through the documentation but have
> not found a way to this.
>
> When I TARGET_LINK_LIBRARIES( test /path/to/libA.lib) I get the equivalent
> of -L /path/to -l libA.lib.  I'd like to get -l /path/to/libA.lib.  Is
> that possible?

Currently this is not possible. You also shouldn't need it. CMake orders the 
directories so that you should get the libs you want.
Do you have a case where this doesn't work ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the CMake mailing list