소스 검색

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.