diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-12-04 22:25:56 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-12-04 22:32:52 (GMT) |
commit | b96b025b2a337d7b09157f8b24cf9ca77a825863 (patch) | |
tree | 1d6ecf8e607b1c679ce40f0d8d73113bc99e32db /Help/manual/cmake-developer.7.rst | |
parent | 169f116632321e99701986f48a19e836d2b9e710 (diff) | |
download | CMake-b96b025b2a337d7b09157f8b24cf9ca77a825863.zip CMake-b96b025b2a337d7b09157f8b24cf9ca77a825863.tar.gz CMake-b96b025b2a337d7b09157f8b24cf9ca77a825863.tar.bz2 |
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.
Diffstat (limited to 'Help/manual/cmake-developer.7.rst')
-rw-r--r-- | Help/manual/cmake-developer.7.rst | 5 |
1 files changed, 1 insertions, 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 ``<package>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 |