summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-05-07 15:58:46 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-05-07 15:58:46 (GMT)
commit495951ea68e7e2abb517489ef242c5e6bec03207 (patch)
treee8861fc8b511ca507b63d4e526307ede1f8c29bd /Help
parentadef7c09d0086aeb9ffd41bfe0aa11bcaf79e2be (diff)
downloadCMake-495951ea68e7e2abb517489ef242c5e6bec03207.zip
CMake-495951ea68e7e2abb517489ef242c5e6bec03207.tar.gz
CMake-495951ea68e7e2abb517489ef242c5e6bec03207.tar.bz2
Help: Mention CMP0095 in INSTALL_RPATH documentation
Diffstat (limited to 'Help')
-rw-r--r--Help/prop_tgt/INSTALL_RPATH.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/prop_tgt/INSTALL_RPATH.rst b/Help/prop_tgt/INSTALL_RPATH.rst
index 93b4488..4549b92 100644
--- a/Help/prop_tgt/INSTALL_RPATH.rst
+++ b/Help/prop_tgt/INSTALL_RPATH.rst
@@ -8,5 +8,9 @@ targets (for platforms that support it). This property is initialized
by the value of the variable :variable:`CMAKE_INSTALL_RPATH` if it is set when
a target is created.
+Because the rpath may contain ``${ORIGIN}``, which coincides with CMake syntax,
+the contents of ``INSTALL_RPATH`` are properly escaped in the
+``cmake_install.cmake`` script (see policy :policy:`CMP0095`.)
+
This property supports
:manual:`generator expressions <cmake-generator-expressions(7)>`.