CMAKE_PREFIX_PATH.rst 720 B

1234567891011121314151617
  1. CMAKE_PREFIX_PATH
  2. -----------------
  3. .. include:: include/ENV_VAR.rst
  4. The ``CMAKE_PREFIX_PATH`` environment variable may be set to a list of
  5. directories specifying installation *prefixes* to be searched by the
  6. :command:`find_package`, :command:`find_program`, :command:`find_library`,
  7. :command:`find_file`, and :command:`find_path` commands. Each command will
  8. add appropriate subdirectories (like ``bin``, ``lib``, or ``include``)
  9. as specified in its own documentation.
  10. This variable may hold a single prefix or a list of prefixes separated
  11. by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
  12. variable convention on those platforms).
  13. See also the :variable:`CMAKE_PREFIX_PATH` CMake variable.