Help: Convert find_package references to CMAKE_PREFIX_PATH to links

This commit is contained in:
Brad King
2020-04-14 10:08:23 -04:00
parent 03b6f3a2e8
commit d59c6ea5c6
+9 -9
View File
@@ -302,23 +302,23 @@ enabled.
are intended to be used on the command line with a ``-DVAR=value``. are intended to be used on the command line with a ``-DVAR=value``.
The values are interpreted as :ref:`semicolon-separated lists <CMake Language Lists>`. The values are interpreted as :ref:`semicolon-separated lists <CMake Language Lists>`.
This can be skipped if ``NO_CMAKE_PATH`` is passed or by setting the This can be skipped if ``NO_CMAKE_PATH`` is passed or by setting the
:variable:`CMAKE_FIND_USE_CMAKE_PATH` to ``FALSE``:: :variable:`CMAKE_FIND_USE_CMAKE_PATH` to ``FALSE``:
CMAKE_PREFIX_PATH * :variable:`CMAKE_PREFIX_PATH`
CMAKE_FRAMEWORK_PATH * :variable:`CMAKE_FRAMEWORK_PATH`
CMAKE_APPBUNDLE_PATH * :variable:`CMAKE_APPBUNDLE_PATH`
3. Search paths specified in cmake-specific environment variables. 3. Search paths specified in cmake-specific environment variables.
These are intended to be set in the user's shell configuration, These are intended to be set in the user's shell configuration,
and therefore use the host's native path separator and therefore use the host's native path separator
(``;`` on Windows and ``:`` on UNIX). (``;`` on Windows and ``:`` on UNIX).
This can be skipped if ``NO_CMAKE_ENVIRONMENT_PATH`` is passed or by setting This can be skipped if ``NO_CMAKE_ENVIRONMENT_PATH`` is passed or by setting
the :variable:`CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH` to ``FALSE``:: the :variable:`CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH` to ``FALSE``:
<PackageName>_DIR * ``<PackageName>_DIR``
CMAKE_PREFIX_PATH * :envvar:`CMAKE_PREFIX_PATH`
CMAKE_FRAMEWORK_PATH * ``CMAKE_FRAMEWORK_PATH``
CMAKE_APPBUNDLE_PATH * ``CMAKE_APPBUNDLE_PATH``
4. Search paths specified by the ``HINTS`` option. These should be paths 4. Search paths specified by the ``HINTS`` option. These should be paths
computed by system introspection, such as a hint provided by the computed by system introspection, such as a hint provided by the