summaryrefslogtreecommitdiff
path: root/share/cmake-3.22/Help/variable/CMAKE_FIND_ROOT_PATH.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.22/Help/variable/CMAKE_FIND_ROOT_PATH.rst')
-rw-r--r--share/cmake-3.22/Help/variable/CMAKE_FIND_ROOT_PATH.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/cmake-3.22/Help/variable/CMAKE_FIND_ROOT_PATH.rst b/share/cmake-3.22/Help/variable/CMAKE_FIND_ROOT_PATH.rst
new file mode 100644
index 0000000..6172c56
--- /dev/null
+++ b/share/cmake-3.22/Help/variable/CMAKE_FIND_ROOT_PATH.rst
@@ -0,0 +1,8 @@
+CMAKE_FIND_ROOT_PATH
+--------------------
+
+:ref:`Semicolon-separated list <CMake Language Lists>` 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.