From 06171fd7aae5a9a96a5b7e86490fad98807ff458 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 26 Mar 2021 09:44:57 -0400 Subject: GNUInstallDirs: Clarify that CMAKE_INSTALL_ may be absolute Fixes: #21991 --- Modules/GNUInstallDirs.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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_``). + However, an absolute path is also allowed. ``CMAKE_INSTALL_FULL_`` -- cgit v0.12