[CMake] portable way of linking (external) libs statically/dynamically/for dlopen
Philippe Cerfon
philcerf at gmail.com
Mon Apr 29 17:34:24 EDT 2013
On Mon, Apr 29, 2013 at 10:36 PM, Alexander Neundorf
<a.neundorf-work at gmx.net> wrote:
> If cmake finds the static version of the library, it should properly use that
> one.
I thought it would use the shared one per default?
> Making cmake find the static version instead of the dynamic version is kind of
> hard, AFAIK the only way to do this is to give the full filename of the static
> lib.
In other words: not portable. :(
More information about the CMake
mailing list