CMAKE_PREFIX_PATH.rst 655 B

123456789101112131415
  1. CMAKE_PREFIX_PATH
  2. -----------------
  3. :ref:`;-list <CMake Language Lists>` of directories specifying installation
  4. *prefixes* to be searched by the :command:`find_package`,
  5. :command:`find_program`, :command:`find_library`, :command:`find_file`, and
  6. :command:`find_path` commands. Each command will add appropriate
  7. subdirectories (like ``bin``, ``lib``, or ``include``) as specified in its own
  8. documentation.
  9. By default this is empty. It is intended to be set by the project.
  10. See also :variable:`CMAKE_SYSTEM_PREFIX_PATH`, :variable:`CMAKE_INCLUDE_PATH`,
  11. :variable:`CMAKE_LIBRARY_PATH`, :variable:`CMAKE_PROGRAM_PATH`, and
  12. :variable:`CMAKE_IGNORE_PATH`.