Explorar o código

ENH: Document variable CMAKE_NO_BUILTIN_CHRPATH

This adds documentation for the variable which was previously missing.
See issue #9130.
Brad King %!s(int64=16) %!d(string=hai) anos
pai
achega
42c4a1d71f
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      Source/cmDocumentVariables.cxx

+ 10 - 0
Source/cmDocumentVariables.cxx

@@ -894,6 +894,16 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
      "need to be relinked when installed.",false,
      "need to be relinked when installed.",false,
      "Variables that Control the Build");
      "Variables that Control the Build");
 
 
+  cm->DefineProperty
+    ("CMAKE_NO_BUILTIN_CHRPATH", cmProperty::VARIABLE,
+     "Do not use the builtin ELF editor to fix RPATHs on installation.",
+     "When an ELF binary needs to have a different RPATH after installation "
+     "than it does in the build tree, CMake uses a builtin editor to change "
+     "the RPATH in the installed copy.  "
+     "If this variable is set to true then CMake will relink the binary "
+     "before installation instead of using its builtin editor.",false,
+     "Variables that Control the Build");
+
   cm->DefineProperty
   cm->DefineProperty
     ("CMAKE_SKIP_BUILD_RPATH", cmProperty::VARIABLE,
     ("CMAKE_SKIP_BUILD_RPATH", cmProperty::VARIABLE,
      "Do not include RPATHs in the build tree.",
      "Do not include RPATHs in the build tree.",