cmake/Help/variable/CMAKE_FIND_ROOT_PATH.rst

9 lines
332 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_FIND_ROOT_PATH
--------------------
2019-11-11 23:01:05 +01:00
:ref:`Semicolon-separated list <CMake Language Lists>` of root paths to search on the filesystem.
2014-08-03 19:52:23 +02:00
This variable is most useful when cross-compiling. CMake uses the paths in
2015-11-17 17:22:37 +01:00
this list as alternative roots to find filesystem items with
:command:`find_package`, :command:`find_library` etc.