Hi

Am Donnerstag, 17. Mai 2012 schrieb Petr Kmoch :

> Hi David,
>
> there's a target property LINK_INTERFACE_LIBRARIES (and
> per-configuration variants) which can be used for this purpose.
> Starting with 2.8.7, target_link_libraries() also accepts
> LINK_INTERFACE_LIBRARIES as a new argument mode, setting the property
> instead of linking.


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.

Andreas
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to