diff options
author | Brad King <brad.king@kitware.com> | 2020-04-14 14:08:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-14 14:08:23 (GMT) |
commit | d59c6ea5c61b8afb840d6d720070a3602eb7a21b (patch) | |
tree | 6c0c83926b620b7ed2d88bac9fd1aee63459c807 /Help/command | |
parent | 03b6f3a2e880cb9a1f25935e598716c943b5d942 (diff) | |
download | CMake-d59c6ea5c61b8afb840d6d720070a3602eb7a21b.zip CMake-d59c6ea5c61b8afb840d6d720070a3602eb7a21b.tar.gz CMake-d59c6ea5c61b8afb840d6d720070a3602eb7a21b.tar.bz2 |
Help: Convert find_package references to CMAKE_PREFIX_PATH to links
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/find_package.rst | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst index 64a16f3..6753268 100644 --- a/Help/command/find_package.rst +++ b/Help/command/find_package.rst @@ -302,23 +302,23 @@ enabled. 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>`. 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 - CMAKE_FRAMEWORK_PATH - CMAKE_APPBUNDLE_PATH + * :variable:`CMAKE_PREFIX_PATH` + * :variable:`CMAKE_FRAMEWORK_PATH` + * :variable:`CMAKE_APPBUNDLE_PATH` 3. Search paths specified in cmake-specific environment variables. These are intended to be set in the user's shell configuration, and therefore use the host's native path separator (``;`` on Windows and ``:`` on UNIX). 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 - CMAKE_PREFIX_PATH - CMAKE_FRAMEWORK_PATH - CMAKE_APPBUNDLE_PATH + * ``<PackageName>_DIR`` + * :envvar:`CMAKE_PREFIX_PATH` + * ``CMAKE_FRAMEWORK_PATH`` + * ``CMAKE_APPBUNDLE_PATH`` 4. Search paths specified by the ``HINTS`` option. These should be paths computed by system introspection, such as a hint provided by the |