summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_INSTALL_PREFIX.rst
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-04-20 12:38:00 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-04-20 12:39:02 (GMT)
commitfcf64866dad8ce239382df5d6fde01f90ccc7e63 (patch)
treee85e0dac6164ca0b4c4703947039956cbe5b7485 /Help/variable/CMAKE_INSTALL_PREFIX.rst
parentfe0082875aeecead23b2351629abca4990dfba43 (diff)
downloadCMake-fcf64866dad8ce239382df5d6fde01f90ccc7e63.zip
CMake-fcf64866dad8ce239382df5d6fde01f90ccc7e63.tar.gz
CMake-fcf64866dad8ce239382df5d6fde01f90ccc7e63.tar.bz2
Help: move DESTDIR into a separate page
Diffstat (limited to 'Help/variable/CMAKE_INSTALL_PREFIX.rst')
-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`,