That would have been ideal, however it seems to me not many packages ship with cmake config module files..
On Sun, Aug 21, 2016 at 9:52 PM, Tamás Kenéz <tamas.ke...@gmail.com> wrote: > Defining the dependencies of an imported target should be done by the > target's config-module (or a file invoked by the config-module, usually > generated with install(EXPORT...) ) > > On Sun, Aug 21, 2016 at 4:23 PM, Yaron Cohen-Tal <yaro...@gmail.com> > wrote: > >> Thanx! >> >> I think it would b nice though if the "target_XXX" commands would also >> work for imported targets, e.g.. by adding the dependency to >> "INTERFACE_LINK_LIBRARIES'. That way I sometimes can use the same command >> without checking if the depentent is imported. >> >> -- >> >> Powered by www.kitware.com >> >> Please keep messages on-topic and check the CMake FAQ at: >> http://www.cmake.org/Wiki/CMake_FAQ >> >> Kitware offers various services to support the CMake community. For more >> information on each offering, please visit: >> >> CMake Support: http://cmake.org/cmake/help/support.html >> CMake Consulting: http://cmake.org/cmake/help/consulting.html >> CMake Training Courses: http://cmake.org/cmake/help/training.html >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/cmake >> > >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake