From 495951ea68e7e2abb517489ef242c5e6bec03207 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Thu, 7 May 2020 11:58:46 -0400 Subject: Help: Mention CMP0095 in INSTALL_RPATH documentation --- Help/prop_tgt/INSTALL_RPATH.rst | 4 ++++ 1 file changed, 4 insertions(+) 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 `. -- cgit v0.12