[CMake] linking to arbitrary libraries in linux.

David Cole david.cole at kitware.com
Thu Feb 28 18:35:13 EST 2008


On 2/28/08, Alexander Neundorf <a.neundorf-work at gmx.net> wrote:
>
>
> target_link_libraries(targetName /full/path/to/libName.a)



FYI:

The "/full/path/to/" feature was only recently added to CVS CMake. The
specify lib by a full path technique may not work as you'd expect in CMake
2.4.8.... If you want to use full paths in target_link_libraries calls, be
sure to use CVS CMake.


HTH,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080228/1d36cc34/attachment.html


More information about the CMake mailing list