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)
commit16b4d5fc8413f30c2c746d793f82f106626dd742 (patch)
treec6dd44ab82dcd20e334623f8dbdd5c418c1b2656 /Modules
parent1df75b171d65ea6679729ab52d1ca2a588a5eef8 (diff)
parent06171fd7aae5a9a96a5b7e86490fad98807ff458 (diff)
downloadCMake-16b4d5fc8413f30c2c746d793f82f106626dd742.zip
CMake-16b4d5fc8413f30c2c746d793f82f106626dd742.tar.gz
CMake-16b4d5fc8413f30c2c746d793f82f106626dd742.tar.bz2
Merge topic 'GNUInstallDirs-doc' into release-3.20
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>``