Explorar o código

Help: Mention CMP0095 in INSTALL_RPATH documentation

Kyle Edwards %!s(int64=5) %!d(string=hai) anos
pai
achega
495951ea68
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Help/prop_tgt/INSTALL_RPATH.rst

+ 4 - 0
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)>`.