CMAKE_IGNORE_PATH.rst 848 B

1234567891011121314151617
  1. CMAKE_IGNORE_PATH
  2. -----------------
  3. Path to be ignored by FIND_XXX() commands.
  4. Specifies directories to be ignored by searches in FIND_XXX()
  5. commands. This is useful in cross-compiled environments where some
  6. system directories contain incompatible but possibly linkable
  7. libraries. For example, on cross-compiled cluster environments, this
  8. allows a user to ignore directories containing libraries meant for the
  9. front-end machine that modules like FindX11 (and others) would
  10. normally search. By default this is empty; it is intended to be set
  11. by the project. Note that CMAKE_IGNORE_PATH takes a list of directory
  12. names, NOT a list of prefixes. If you want to ignore paths under
  13. prefixes (bin, include, lib, etc.), you'll need to specify them
  14. explicitly. See also CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH,
  15. CMAKE_INCLUDE_PATH, CMAKE_PROGRAM_PATH.