Hi<br><br>Am Donnerstag, 17. Mai 2012 schrieb Petr Kmoch :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi David,<br>
<br>
there's a target property LINK_INTERFACE_LIBRARIES (and<br>
per-configuration variants) which can be used for this purpose.<br>
Starting with 2.8.7, target_link_libraries() also accepts<br>
LINK_INTERFACE_LIBRARIES as a new argument mode, setting the property<br>
instead of linking.</blockquote><div><br></div><div>Actually using link_interface_libraries in target_link_libraries works already in 2.6.4 I believe, since KDE uses that and requires that cmake version at the moment.</div>
<div><br></div><div>Andreas<span></span></div>