[CMake] target_link_libraries: prefer static to dynamic
Jed Brown
jed at 59A2.org
Wed Dec 30 11:32:21 EST 2009
On Mon, 28 Dec 2009 12:29:05 +0100, Pau Garcia i Quiles <pgquiles at elpauer.org> wrote:
> I'm using CMake 2.8.0 on Linux. Yes, Michael is right: I want it to
> happen automagically. That was the whole point of this thread :-)
I would argue that FindXXX.cmake is the wrong place for the decision to
be made since I may want my project to link different targets
differently (as with pkg-config's --static option).
Jed
More information about the CMake
mailing list