[CMake] Static linking and find_library
Denis Scherbakov
denis_scherbakov at yahoo.com
Mon May 11 03:57:35 EDT 2009
Currently there is no way to do something like
-Wl,-Bstatic -lname -Wl,-Bdynamic
I can assume that some people in some situations may want to do that.
> > Marcel Loose wrote:
> ...
> > > 2) How can I persuade find_library() to only
> search for static
> > > libraries?
> >
> > You can't.
>
> People ask this a lot. Is there a technical reason or has
> it just not been
> done ?
More information about the CMake
mailing list