GNUInstallDirs: Clarify that CMAKE_INSTALL_<dir> may be absolute

Fixes: #21991
This commit is contained in:
Brad King committed 2021-03-29 09:45:27 -04:00
1 parent 2a2afe0ae4
commit 06171fd7aa
1 file changed
+4 -1
+4 -1
View File
@@ -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>``