PackageName_ROOT.rst 700 B

1234567891011121314151617
  1. <PackageName>_ROOT
  2. ------------------
  3. .. include:: ENV_VAR.txt
  4. Calls to :command:`find_package(<PackageName>)` will search in prefixes
  5. specified by the ``<PackageName>_ROOT`` environment variable, where
  6. ``<PackageName>`` is the name given to the :command:`find_package` call
  7. and ``_ROOT`` is literal. For example, ``find_package(Foo)`` will search
  8. prefixes specified in the ``Foo_ROOT`` environment variable (if set).
  9. See policy :policy:`CMP0074`.
  10. This variable may hold a single prefix or a list of prefixes separated
  11. by ``:`` on UNIX or ``;`` on Windows (the same as the ``PATH`` environment
  12. variable convention on those platforms).
  13. See also the :variable:`<PackageName>_ROOT` CMake variable.