From b96b025b2a337d7b09157f8b24cf9ca77a825863 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 4 Dec 2014 23:25:56 +0100 Subject: Help: Remove disadvantage creating IMPORTED targets in Find modules. An IMPORTED target in either type of package can equally depend on an IMPORTED target in a Find module, which must be found as a dependency, which is presumably the problem being implied. This is not a distinction of creating an IMPORTED target in a Find module. --- Help/manual/cmake-developer.7.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Help/manual/cmake-developer.7.rst b/Help/manual/cmake-developer.7.rst index c7bafc0..f054d83 100644 --- a/Help/manual/cmake-developer.7.rst +++ b/Help/manual/cmake-developer.7.rst @@ -733,10 +733,7 @@ The more modern approach is to behave as much like ``Config.cmake`` files as possible, by providing imported targets. As well as matching how ``*Config.cmake`` files work, the libraries, include directories and compile definitions are all set just -by using the target in a :command:`target_link_libraries` call. The -disadvantage is that ``*Config.cmake`` files of projects that use -imported targets from find modules may require more work to make sure -those imported targets that are in the link interface are available. +by using the target in a :command:`target_link_libraries` call. In either case (or even when providing both variables and imported targets), find modules should provide backwards compatibility with old -- cgit v0.12