summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_FIND_ROOT_PATH.rst
blob: ccf5234515aa79539f986d9d1de1eb15885ab2c5 (plain)
1
2
3
4
5
6
7
8
CMAKE_FIND_ROOT_PATH
--------------------

:ref:`;-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.