summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_FIND_ROOT_PATH.rst
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-26 18:58:07 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-27 12:21:12 (GMT)
commit3e3f8b456f5d205d0f5126df80950903c4bd4412 (patch)
tree0e89db88305ab96621aa5c7aa145de7267334fdb /Help/variable/CMAKE_FIND_ROOT_PATH.rst
parent531c108da1472cde387506172588ddd7e66b4e1d (diff)
downloadCMake-3e3f8b456f5d205d0f5126df80950903c4bd4412.zip
CMake-3e3f8b456f5d205d0f5126df80950903c4bd4412.tar.gz
CMake-3e3f8b456f5d205d0f5126df80950903c4bd4412.tar.bz2
Help: Document the CMAKE_FIND_ROOT_PATH* variables.
Add a replacement template for the variables, and link to them from the documentation for the find_* commands.
Diffstat (limited to 'Help/variable/CMAKE_FIND_ROOT_PATH.rst')
-rw-r--r--Help/variable/CMAKE_FIND_ROOT_PATH.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_FIND_ROOT_PATH.rst b/Help/variable/CMAKE_FIND_ROOT_PATH.rst
new file mode 100644
index 0000000..67948f7
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_ROOT_PATH.rst
@@ -0,0 +1,8 @@
+CMAKE_FIND_ROOT_PATH
+--------------------
+
+List of root paths to search on the filesystem.
+
+This variable is most useful when cross-compiling. CMake uses the paths in
+this list as alternative roots to find filesystem items with :command:`find_package`,
+:command:`find_library` etc.