[CMake] static library linking

Steven Van Ingelgem steven at vaningelgem.be
Sat Jun 14 20:57:06 EDT 2008


Hi,


I have a question about CMP0003...
When I give the full path to a static library, it's supposed to link against
that one... But right now I'm linking against:
"/usr/lib/libpthread.a" (message before the target_link_libraries call)
This results however in "-Wl,-Bstatic -lpthread"... Which doesn't seem like
the correct behaviour?

What could be the reason for this?



Thanks,
Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080615/6b849c3c/attachment.htm>


More information about the CMake mailing list