[CMake] portable way of linking (external) libs statically/dynamically/for dlopen

Philippe Cerfon philcerf at gmail.com
Mon Apr 29 17:38:11 EDT 2013


On Mon, Apr 29, 2013 at 10:40 PM, Jean-Christophe Fillion-Robin
<jchris.fillionr at kitware.com> wrote:
> For example:
> https://github.com/commontk/CTK/blob/ac13c32312c9160190b80bd3a03d012782eff40c/Libs/Core/CMake/ctkMacroBFDCheck.cmake#L33-43
I'm not sure whether I understand this correctly, or whether it is
what I want ;)
You still seem to hardcode the static library name (=> not portable)


More information about the CMake mailing list