瀏覽代碼

Help: Link to GNUInstallDirs from CMAKE_INSTALL_PREFIX (#15246)

Add a note to the CMAKE_INSTALL_PREFIX documentation that refers readers
to the GNUInstallDirs module to make the latter easier to discover.
Brad King 11 年之前
父節點
當前提交
00d4cdc935
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Help/variable/CMAKE_INSTALL_PREFIX.rst

+ 5 - 0
Help/variable/CMAKE_INSTALL_PREFIX.rst

@@ -27,3 +27,8 @@ which cannot be prepended with some other prefix.
 The installation prefix is also added to CMAKE_SYSTEM_PREFIX_PATH so
 that find_package, find_program, find_library, find_path, and
 find_file will search the prefix for other software.
+
+.. note::
+
+  Use the :module:`GNUInstallDirs` module to provide GNU-style
+  options for the layout of directories within the installation.