global-controls-over-find-locations.rst 881 B

123456789101112131415161718192021
  1. global-controls-over-find-locations
  2. -----------------------------------
  3. * The :command:`find_file`, :command:`find_library`, :command:`find_path`,
  4. :command:`find_package`, and :command:`find_program` commands have learned to
  5. check the following variables to control searching
  6. * :variable:`CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH` - Controls the searching
  7. the cmake-specific environment variables.
  8. * :variable:`CMAKE_FIND_USE_CMAKE_PATH` - Controls the searching the
  9. cmake-specific cache variables.
  10. * :variable:`CMAKE_FIND_USE_CMAKE_SYSTEM_PATH` - Controls the searching
  11. cmake platform specific variables.
  12. * :variable:`CMAKE_FIND_USE_PACKAGE_ROOT_PATH` - Controls the searching of
  13. :variable:`<PackageName>_ROOT` variables.
  14. * :variable:`CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH` - Controls the searching
  15. the standard system environment variables.