CMAKE_SYSTEM_IGNORE_PATH.rst 890 B

123456789101112131415161718
  1. CMAKE_SYSTEM_IGNORE_PATH
  2. ------------------------
  3. :ref:`;-list <CMake Language Lists>` of directories to be *ignored* by
  4. the :command:`find_program`, :command:`find_library`, :command:`find_file`,
  5. and :command:`find_path` commands. This is useful in cross-compiling
  6. environments where some system directories contain incompatible but
  7. possibly linkable libraries. For example, on cross-compiled cluster
  8. environments, this allows a user to ignore directories containing
  9. libraries meant for the front-end machine.
  10. By default this contains a list of directories containing incompatible
  11. binaries for the host system. See the :variable:`CMAKE_IGNORE_PATH` variable
  12. that is intended to be set by the project.
  13. See also the :variable:`CMAKE_SYSTEM_PREFIX_PATH`,
  14. :variable:`CMAKE_SYSTEM_LIBRARY_PATH`, :variable:`CMAKE_SYSTEM_INCLUDE_PATH`,
  15. and :variable:`CMAKE_SYSTEM_PROGRAM_PATH` variables.