summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_INSTALL_PREFIX.rst
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2022-03-21 16:44:29 (GMT)
committerCraig Scott <craig.scott@crascit.com>2022-03-23 05:19:03 (GMT)
commit7dc654a0178ce1c1dfc10bcd5309c641d38d42bd (patch)
treec6e4da22659cfdbfa0d74be4a1ba4a20b0987e23 /Help/variable/CMAKE_INSTALL_PREFIX.rst
parent2aad4cef979bd5174f067424a117fac765e3da34 (diff)
downloadCMake-7dc654a0178ce1c1dfc10bcd5309c641d38d42bd.zip
CMake-7dc654a0178ce1c1dfc10bcd5309c641d38d42bd.tar.gz
CMake-7dc654a0178ce1c1dfc10bcd5309c641d38d42bd.tar.bz2
Help: Better cross-reference CMAKE_FIND_NO_INSTALL_PREFIX
Diffstat (limited to 'Help/variable/CMAKE_INSTALL_PREFIX.rst')
-rw-r--r--Help/variable/CMAKE_INSTALL_PREFIX.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/variable/CMAKE_INSTALL_PREFIX.rst b/Help/variable/CMAKE_INSTALL_PREFIX.rst
index b92d3ef..6d42ea8 100644
--- a/Help/variable/CMAKE_INSTALL_PREFIX.rst
+++ b/Help/variable/CMAKE_INSTALL_PREFIX.rst
@@ -16,7 +16,9 @@ variable for more information.
The installation prefix is also added to :variable:`CMAKE_SYSTEM_PREFIX_PATH`
so that :command:`find_package`, :command:`find_program`,
:command:`find_library`, :command:`find_path`, and :command:`find_file`
-will search the prefix for other software.
+will search the prefix for other software. This behavior can be disabled by
+setting the :variable:`CMAKE_FIND_NO_INSTALL_PREFIX` to ``TRUE`` before the
+first :command:`project` invocation.
.. note::