summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-04-23 14:17:37 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-04-23 14:17:42 (GMT)
commit3d6bedb9038f5f39278ce2bfdd7d6713ddd50269 (patch)
treecda075e71eaaf43742291c9219d627c7e9317170 /Help/variable
parentba234392b1ca82549d57488f18e2ab622019d8f6 (diff)
parenta4f71b4ba8204c7e4a70057af131170165605288 (diff)
downloadCMake-3d6bedb9038f5f39278ce2bfdd7d6713ddd50269.zip
CMake-3d6bedb9038f5f39278ce2bfdd7d6713ddd50269.tar.gz
CMake-3d6bedb9038f5f39278ce2bfdd7d6713ddd50269.tar.bz2
Merge topic 'cmake-install-doc'
a4f71b4ba8 Help: Document existence of cmake_install.cmake fcf64866da Help: move DESTDIR into a separate page Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1979
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_INSTALL_PREFIX.rst16
1 files changed, 1 insertions, 15 deletions
diff --git a/Help/variable/CMAKE_INSTALL_PREFIX.rst b/Help/variable/CMAKE_INSTALL_PREFIX.rst
index 7bd87d6..02ba645 100644
--- a/Help/variable/CMAKE_INSTALL_PREFIX.rst
+++ b/Help/variable/CMAKE_INSTALL_PREFIX.rst
@@ -10,21 +10,7 @@ See :variable:`CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT` for how a
project might choose its own default.
On UNIX one can use the ``DESTDIR`` mechanism in order to relocate the
-whole installation. ``DESTDIR`` means DESTination DIRectory. It is
-commonly used by makefile users in order to install software at
-non-default location. It is usually invoked like this:
-
-::
-
- make DESTDIR=/home/john install
-
-which will install the concerned software using the installation
-prefix, e.g. ``/usr/local`` prepended with the ``DESTDIR`` value which
-finally gives ``/home/john/usr/local``.
-
-WARNING: ``DESTDIR`` may not be used on Windows because installation
-prefix usually contains a drive letter like in ``C:/Program Files``
-which cannot be prepended with some other prefix.
+whole installation. See :envvar:`DESTDIR` for more information.
The installation prefix is also added to :variable:`CMAKE_SYSTEM_PREFIX_PATH`
so that :command:`find_package`, :command:`find_program`,