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.
This commit is contained in:
Brad King 2014-11-12 08:32:01 -05:00
parent 54ff77dc62
commit 00d4cdc935
1 changed files with 5 additions and 0 deletions

View File

@ -27,3 +27,8 @@ which cannot be prepended with some other prefix.
The installation prefix is also added to CMAKE_SYSTEM_PREFIX_PATH so The installation prefix is also added to CMAKE_SYSTEM_PREFIX_PATH so
that find_package, find_program, find_library, find_path, and that find_package, find_program, find_library, find_path, and
find_file will search the prefix for other software. 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.