From 213433858f6962be8709b4e3b9332ce1a103b54b Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Fri, 26 Oct 2018 11:55:34 -0400 Subject: Help: Clarify usage of TARGET_PROPERTY generator expression When using $, the value of prop comes from the consuming target rather than the current target. Add a note to clarify this. --- Help/manual/cmake-generator-expressions.7.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index 0826ce0..bddf827 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -238,7 +238,10 @@ Available informational expressions are: expression is evaluated on. ``$`` Value of the property ``prop`` on the target on which the generator - expression is evaluated. + expression is evaluated. Note that for generator expressions in + :ref:`Target Usage Requirements` this is the value of the property + on the consuming target rather than the target specifying the + requirement. ``$`` Content of the install prefix when the target is exported via :command:`install(EXPORT)` and empty otherwise. -- cgit v0.12