浏览代码

ENH: Document variable CMAKE_NO_BUILTIN_CHRPATH

This adds documentation for the variable which was previously missing.
See issue #9130.
Brad King 16 年之前
父节点
当前提交
42c4a1d71f
共有 1 个文件被更改,包括 10 次插入0 次删除
  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,
      "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
     ("CMAKE_SKIP_BUILD_RPATH", cmProperty::VARIABLE,
      "Do not include RPATHs in the build tree.",