[CMake] Proposal: extra option PRIVATE for target_link_libraries

Alexander Neundorf a.neundorf-work at gmx.net
Wed Dec 23 09:06:02 EST 2009


On Wednesday 23 December 2009, Marcel Loose wrote:
...
> Seems I must unconciously have felt that LINK_INTERFACE_LIBRARIES had
> something to do with the problem of overlinking I'm trying to solve
> right now. Funny, this morning I came to the conclusion that I probably
> wouldn't need LINK_INTERFACE_LIBRARIES (see thread: [Q]
> LINK_INTERFACE_LIBRARIES and the like), and now it seems I will.
>
> Guess I'll have to study carefully how this whole import/export and
> interface libs stuff works. Could you point me to some examples?

It's probably also somewhere in the cmake wiki, but does this help ?
http://techbase.kde.org/Development/CMake_KDE_4_2#How_to_install_libraries_correctly_now

Alex


More information about the CMake mailing list