CMAKE_SYSTEM_PREFIX_PATH.rst 841 B

123456789101112131415161718
  1. CMAKE_SYSTEM_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 contains the standard directories for the current system, the
  10. :variable:`CMAKE_INSTALL_PREFIX`, and the :variable:`CMAKE_STAGING_PREFIX`.
  11. It is *not* intended to be modified by the project; use
  12. :variable:`CMAKE_PREFIX_PATH` for this.
  13. See also :variable:`CMAKE_SYSTEM_INCLUDE_PATH`,
  14. :variable:`CMAKE_SYSTEM_LIBRARY_PATH`, :variable:`CMAKE_SYSTEM_PROGRAM_PATH`,
  15. and :variable:`CMAKE_SYSTEM_IGNORE_PATH`.