[cmake-developers] [PATCH] Tell people that link_directories() is not what they are searching for

Rolf Eike Beer eike at sf-mail.de
Wed Oct 26 16:04:59 EDT 2011


Am Mittwoch 26 Oktober 2011, 15:33:36 schrieb Brad King:
> On 10/26/2011 3:17 PM, Rolf Eike Beer wrote:
> > Am Mittwoch 26 Oktober 2011, 15:14:22 schrieb Brad King:

> >> Note that this command is rarely necessary.  Library locations
> >> returned
> >> by find_package() and find_library() are absolute paths.  Pass these
> >> absolute library file paths directly to the target_link_libraries()
> >> command.  CMake will ensure the linker finds them.
> > 
> > I wouldn't object that either. Just wanting to get rid of this questions
> > ;)
> Please re-submit the patch with the above wording and using one of the
> corrected methods described above.

Attached.

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Tell-people-that-link_directories-is-not-what-they-a.patch
Type: text/x-patch
Size: 1454 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20111026/38db70bf/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20111026/38db70bf/attachment.sig>


More information about the cmake-developers mailing list