[CMake] linking libraries statically

Stefan Buschmann s_buschmann at gmx.de
Thu Feb 1 16:56:53 EST 2007


Omar Souka wrote:
> When the application is linked, it links in the same static libraries
> as the shared library.  This seems like a bug to link the libraries
> twice.  Am I doing something wrong?
Have a look at the CMake FAQ (http://www.cmake.org/Wiki/CMake_FAQ): "Why
are libraries linked to my shared library included when something links
to it?"

- Stefan



More information about the CMake mailing list