[CMake] TARGET_LINK_LIBRARIES question

david.rhoda at kodak.com david.rhoda at kodak.com
Tue Apr 10 14:22:11 EDT 2007


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?

Thanks,

Dave



More information about the CMake mailing list