On Thursday 17 May 2012, Andreas Pakulat wrote: > 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. LINK_INTERFACE_LIBRARIES exists since cmake 2.6.2.
http://www.cmake.org/Wiki/CMake_2.6.1_Docs http://www.cmake.org/Wiki/CMake_2.6.2_Docs http://www.cmake.org/Wiki/CMake_Version_Compatibility_Matrix/Commands Alex
-- 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
