[CMake] How to link static and shared libraries at the same time?
Matthew Woehlke
matthew.woehlke at kitware.com
Wed Mar 13 12:51:15 EDT 2013
On 2013-03-10 07:43, Ulrich Heinicke wrote:
> I have a shared library in which i need must link some libraries. Five
> of these libraries should be link as shared libraries, but one must be
> linked as static library. How can i do this?
Do you mean that there are static and shared versions of all these
libraries, and you need to know how to force selection of the static
flavor of a certain library?
Otherwise I don't understand the problem; it should just work.
--
Matthew
More information about the CMake
mailing list