CMAKE_FIND_ROOT_PATH.rst 332 Bytes
Newer Older
1 2 3
CMAKE_FIND_ROOT_PATH
--------------------

4
:ref:`Semicolon-separated list <CMake Language Lists>` of root paths to search on the filesystem.
5 6

This variable is most useful when cross-compiling. CMake uses the paths in
7 8
this list as alternative roots to find filesystem items with
:command:`find_package`, :command:`find_library` etc.