Skip to content

Commit

Permalink
Correct links to cpm pre-configured packages
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Jul 25, 2023
1 parent 62fa33e commit 0c7b9db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rapids-cmake/cpm/find.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Overriding
^^^^^^^^^^

The :cmake:command:`rapids_cpm_package_override` command provides a way
for projects to override the default values for any :cmake:command:`rapids_cpm_find`, `rapids_cpm_*` <api.html#cpm>`__,
for projects to override the default values for any :cmake:command:`rapids_cpm_find`, `rapids_cpm_* <../api.html#cpm-pre-configured-packages>`__,
`CPM <https://github.com/cpm-cmake/CPM.cmake>`_, and :cmake:module:`FetchContent() <cmake:module:FetchContent>` package.

By default when an override for a project is provided no local search
Expand Down
4 changes: 2 additions & 2 deletions rapids-cmake/cpm/package_override.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ rapids_cpm_package_override

.. versionadded:: v21.10.00

Overrides the :cmake:command:`rapids_cpm_find`, `rapids_cpm_*` <api.html#cpm>`__,
Overrides the :cmake:command:`rapids_cpm_find`, `rapids_cpm_* <../api.html#cpm-pre-configured-packages>`__,
`CPM <https://github.com/cpm-cmake/CPM.cmake>`_, and :cmake:module:`FetchContent() <cmake:module:FetchContent>` package information for the project.

.. code-block:: cmake

rapids_cpm_package_override(<json_file_path>)

Allows projects to override the default values for any :cmake:command:`rapids_cpm_find`,
`rapids_cpm_*` <api.html#cpm>`__, `CPM <https://github.com/cpm-cmake/CPM.cmake>`_, and :cmake:module:`FetchContent() <cmake:module:FetchContent>` package.
`rapids_cpm_* <../api.html#cpm-pre-configured-packages>`__, `CPM <https://github.com/cpm-cmake/CPM.cmake>`_, and :cmake:module:`FetchContent() <cmake:module:FetchContent>` package.

The user provided json file must follow the `versions.json` format,
which is :ref:`documented here<cpm_version_format>` and shown in the below
Expand Down

0 comments on commit 0c7b9db

Please sign in to comment.