From 9a25278f8c4cc569f4d5f5ce0a9686d2a5d27f4c Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" Date: Wed, 8 Jul 2020 15:09:19 +0200 Subject: Help: advise against CMAKE_INSTALL_PREFIX in install DESTINATION. as per my uncontradicted post https://discourse.cmake.org/t/local-install-vs-install-for-cpack-absolute-vs-relative-path/623/2?u=jwuttke --- Help/command/install.rst | 3 +++ 1 file changed, 3 insertions(+) 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 ` 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 -- cgit v0.12