[CMake] Target Link Library

Lloyd lloydkl.tech at gmail.com
Wed Mar 12 06:42:16 EDT 2014


Thank you very much for the simple and clean solution.

Thanks,
  Lloyd


On Wed, Mar 12, 2014 at 3:20 PM, Nils Gladitz <nilsgladitz at gmail.com> wrote:

> On 12.03.2014 10:41, Nils Gladitz wrote:
>
>> If you created the target with add_library(mylibrary ...)
>> target_link_library(MyExe mylibrary) should work.
>>
>
> Sorry, I didn't realize I copied your incorrectly named
> target_link_library() call ... the actual command should be
> target_link_libraries().
>
> Nils
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140312/a98db3b2/attachment.html>


More information about the CMake mailing list