1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-16 05:26:58 +08:00

GNUInstallDirs: Clarify that CMAKE_INSTALL_<dir> may be absolute

Fixes: #21991
This commit is contained in:
Brad King
2021-03-26 09:44:57 -04:00
parent 2a2afe0ae4
commit 06171fd7aa

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>``