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

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

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.