summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-03-30 13:51:18 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-03-30 13:52:07 (GMT)
commit6859f55c778ccc7a62a9d8a24eaf6af941b9c716 (patch)
tree44625ceaf3ed6db4ff9b6fa9253fc6c28631f002 /Modules
parent986433883607363721111db5e506dc717e305e90 (diff)
parent06171fd7aae5a9a96a5b7e86490fad98807ff458 (diff)
downloadCMake-6859f55c778ccc7a62a9d8a24eaf6af941b9c716.zip
CMake-6859f55c778ccc7a62a9d8a24eaf6af941b9c716.tar.gz
CMake-6859f55c778ccc7a62a9d8a24eaf6af941b9c716.tar.bz2
Merge topic 'GNUInstallDirs-doc'
06171fd7aa GNUInstallDirs: Clarify that CMAKE_INSTALL_<dir> may be absolute Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5947
Diffstat (limited to 'Modules')
-rw-r--r--Modules/GNUInstallDirs.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/GNUInstallDirs.cmake b/Modules/GNUInstallDirs.cmake
index 37869fb..e149f4c 100644
--- a/Modules/GNUInstallDirs.cmake
+++ b/Modules/GNUInstallDirs.cmake
@@ -21,7 +21,10 @@ Inclusion of this module defines the following variables:
Destination for files of a given type. This value may be passed to
the ``DESTINATION`` options of :command:`install` commands for the
- corresponding file type.
+ corresponding file type. It should typically be a path relative to
+ the installation prefix so that it can be converted to an absolute
+ path in a relocatable way (see ``CMAKE_INSTALL_FULL_<dir>``).
+ However, an absolute path is also allowed.
``CMAKE_INSTALL_FULL_<dir>``