summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_INSTALL_PREFIX.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-21 16:49:33 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-21 16:52:00 (GMT)
commitdf9fea7f495cc0cc495782abfe4a7b0a0a3122ec (patch)
tree838079ce43cb41f893b7a4c3dccdce99fa098553 /Help/variable/CMAKE_INSTALL_PREFIX.rst
parent5cfc2e926af645840c6a0464451af18f08528879 (diff)
downloadCMake-df9fea7f495cc0cc495782abfe4a7b0a0a3122ec.zip
CMake-df9fea7f495cc0cc495782abfe4a7b0a0a3122ec.tar.gz
CMake-df9fea7f495cc0cc495782abfe4a7b0a0a3122ec.tar.bz2
Help: Document CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT variable
This variable documentation was simply missing. Suggested-by: Craig Scott <craig.scott@crascit.com>
Diffstat (limited to 'Help/variable/CMAKE_INSTALL_PREFIX.rst')
-rw-r--r--Help/variable/CMAKE_INSTALL_PREFIX.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_INSTALL_PREFIX.rst b/Help/variable/CMAKE_INSTALL_PREFIX.rst
index 86f1944..7bd87d6 100644
--- a/Help/variable/CMAKE_INSTALL_PREFIX.rst
+++ b/Help/variable/CMAKE_INSTALL_PREFIX.rst
@@ -6,6 +6,8 @@ Install directory used by :command:`install`.
If ``make install`` is invoked or ``INSTALL`` is built, this directory is
prepended onto all install directories. This variable defaults to
``/usr/local`` on UNIX and ``c:/Program Files/${PROJECT_NAME}`` on Windows.
+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