[CMake] How does binary link with static library?

Brandon J. Van Every bvanevery at gmail.com
Mon Mar 5 00:33:04 EST 2007


Jong-young Park wrote:
>
> ...
> LINK_DIRECTORIES(../lib)
> LINK_LIBRARIES(crypt pthread my)

These are old commands.  Install CMake 2.4.6, read the cmake.html docs 
again, and don't use them.  Look at TARGET_LINK_LIBRARIES.


Cheers,
Brandon Van Every

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070304/9f24cf92/attachment.htm


More information about the CMake mailing list