summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-09 10:51:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-07-09 10:52:55 (GMT)
commita054211dd9009116605c240d6599e2bc544b524e (patch)
tree1314f13f55e465557c6b09153815faaf41f08141 /Help
parent13b5588a863223bcca343ec237b5f3efe1b4fd53 (diff)
parent9a25278f8c4cc569f4d5f5ce0a9686d2a5d27f4c (diff)
downloadCMake-a054211dd9009116605c240d6599e2bc544b524e.zip
CMake-a054211dd9009116605c240d6599e2bc544b524e.tar.gz
CMake-a054211dd9009116605c240d6599e2bc544b524e.tar.bz2
Merge topic 'install'
9a25278f8c Help: advise against CMAKE_INSTALL_PREFIX in install DESTINATION. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4988
Diffstat (limited to 'Help')
-rw-r--r--Help/command/install.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index c8df7d9..c11eaf4 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -45,6 +45,9 @@ signatures that specify them. The common options are:
As absolute paths are not supported by :manual:`cpack <cpack(1)>` installer
generators, it is preferable to use relative paths throughout.
+ In particular, there is no need to make paths absolute by prepending
+ :variable:`CMAKE_INSTALL_PREFIX`; this prefix is used by default if
+ the DESTINATION is a relative path.
``PERMISSIONS``
Specify permissions for installed files. Valid permissions are