cmake/Help/variable/CMAKE_PREFIX_PATH.rst

16 lines
673 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_PREFIX_PATH
-----------------
2019-11-11 23:01:05 +01:00
:ref:`Semicolon-separated list <CMake Language Lists>` of directories specifying installation
2015-08-17 11:37:30 +02:00
*prefixes* to be searched by the :command:`find_package`,
:command:`find_program`, :command:`find_library`, :command:`find_file`, and
:command:`find_path` commands. Each command will add appropriate
subdirectories (like ``bin``, ``lib``, or ``include``) as specified in its own
documentation.
2014-08-03 19:52:23 +02:00
2015-08-17 11:37:30 +02:00
By default this is empty. It is intended to be set by the project.
See also :variable:`CMAKE_SYSTEM_PREFIX_PATH`, :variable:`CMAKE_INCLUDE_PATH`,
:variable:`CMAKE_LIBRARY_PATH`, :variable:`CMAKE_PROGRAM_PATH`, and
:variable:`CMAKE_IGNORE_PATH`.