[CMake] What is the prescribed way to link in dependencies for a static library

James Bigler jamesbigler at gmail.com
Tue Sep 17 12:41:24 EDT 2013


I have a static library I found using find_library.  Typically with shared
libraries I just link against the library and the dependencies come along
for the ride.

What is the prescribed way of doing this for static libraries?  I don't
think I want to do create an imported target, as this isn't a target.  Are
there other ways of doing this?

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130917/07501208/attachment.htm>


More information about the CMake mailing list