CMAKE_PREFIX_PATH.rst 631 B

12345678910111213
  1. CMAKE_PREFIX_PATH
  2. -----------------
  3. Path used for searching by FIND_XXX(), with appropriate suffixes added.
  4. Specifies a path which will be used by the FIND_XXX() commands. It
  5. contains the "base" directories, the FIND_XXX() commands append
  6. appropriate subdirectories to the base directories. So FIND_PROGRAM()
  7. adds /bin to each of the directories in the path, FIND_LIBRARY()
  8. appends /lib to each of the directories, and FIND_PATH() and
  9. FIND_FILE() append /include . By default it is empty, it is intended
  10. to be set by the project. See also CMAKE_SYSTEM_PREFIX_PATH,
  11. CMAKE_INCLUDE_PATH, CMAKE_LIBRARY_PATH, CMAKE_PROGRAM_PATH.