diff options
author | Brad King <brad.king@kitware.com> | 2020-05-08 12:18:56 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-05-08 12:19:10 (GMT) |
commit | fe82e1b45fb27140470abd71ab780321882411c7 (patch) | |
tree | dbc4e20a5889f09f20ae5fc4767352b8f05e3462 /Help | |
parent | 171bf5fa92076dd177d7fd5a611440ac0f2597b4 (diff) | |
parent | 495951ea68e7e2abb517489ef242c5e6bec03207 (diff) | |
download | CMake-fe82e1b45fb27140470abd71ab780321882411c7.zip CMake-fe82e1b45fb27140470abd71ab780321882411c7.tar.gz CMake-fe82e1b45fb27140470abd71ab780321882411c7.tar.bz2 |
Merge topic 'install-rpath-escape-doc'
495951ea68 Help: Mention CMP0095 in INSTALL_RPATH documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4720
Diffstat (limited to 'Help')
-rw-r--r-- | Help/prop_tgt/INSTALL_RPATH.rst | 4 |
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)>`. |