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

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