diff options
author | Joachim Wuttke (h) <j.wuttke@fz-juelich.de> | 2020-07-08 13:09:19 (GMT) |
---|---|---|
committer | Joachim Wuttke (h) <j.wuttke@fz-juelich.de> | 2020-07-08 13:09:19 (GMT) |
commit | 9a25278f8c4cc569f4d5f5ce0a9686d2a5d27f4c (patch) | |
tree | fef9aa3240460529e4ba7fc864390271a54c4361 /Help/command/install.rst | |
parent | 9692931f8376c47ea335c90f3544e281ddc4ca8d (diff) | |
download | CMake-9a25278f8c4cc569f4d5f5ce0a9686d2a5d27f4c.zip CMake-9a25278f8c4cc569f4d5f5ce0a9686d2a5d27f4c.tar.gz CMake-9a25278f8c4cc569f4d5f5ce0a9686d2a5d27f4c.tar.bz2 |
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
Diffstat (limited to 'Help/command/install.rst')
-rw-r--r-- | Help/command/install.rst | 3 |
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 |