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