diff options
author | Brad King <brad.king@kitware.com> | 2022-11-18 14:25:36 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-11-18 14:25:43 (GMT) |
commit | 1cc936f3141cc6aaa4cf4aacaa017400dc8f9b71 (patch) | |
tree | 31afdf897d4594543fff3d548c0c29b3afc967f9 /Help | |
parent | 331e812cf43335750800c3b07a38acc25bd635c5 (diff) | |
parent | 8437141b53919619f6d21f5f446d26df42373c68 (diff) | |
download | CMake-1cc936f3141cc6aaa4cf4aacaa017400dc8f9b71.zip CMake-1cc936f3141cc6aaa4cf4aacaa017400dc8f9b71.tar.gz CMake-1cc936f3141cc6aaa4cf4aacaa017400dc8f9b71.tar.bz2 |
Merge topic 'genex-TARGET_PROPERTY-scope'
8437141b53 Genex: Fix TARGET_PROPERTY lookup scope in transitive usage requirements
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !7928
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-generator-expressions.7.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index faa793f..eb57b1e 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -1401,6 +1401,13 @@ In the following, the phrase "the ``tgt`` filename" means the name of the Note that ``tgt`` is not added as a dependency of the target this expression is evaluated on. + .. versionchanged:: 3.26 + When encountered during evaluation of :ref:`Target Usage Requirements`, + typically in an ``INTERFACE_*`` target property, lookup of the ``tgt`` + name occurs in the directory of the target specifying the requirement, + rather than the directory of the consuming target for which the + expression is being evaluated. + .. genex:: $<TARGET_PROPERTY:prop> Value of the property ``prop`` on the target for which the expression |