summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/variable/CMAKE_FIND_ROOT_PATH.rst
blob: 6172c56aea74da1a2ea836447a4fc334fb59e020 (plain)
1
2
3
4
5
6
7
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.