Skip to content

Commit

Permalink
Improve override docs
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Sep 8, 2021
1 parent c615c75 commit eb2c995
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions rapids-cmake/cpm/init.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ The CPM module will be downloaded based on the state of :cmake:variable:`CPM_SOU
same download of CPM. If those variables aren't set the file will be cached
in the build tree of the calling project
``OVERRIDE``
.. versionadded:: v21.10.00
Override the `CPM` preset package information for the project. The user provided
json file must follow the `versions.json` format, which is :ref:`documented here<cpm_version_format>`.
If the override file doesn't specify a value or package entry the default
version will be used.
.. note::
Must be called before any invocation of :cmake:command:`rapids_cpm_find`.
Expand Down
2 changes: 1 addition & 1 deletion rapids-cmake/cpm/package_override.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ example:
.. literalinclude:: /packages/example.json
:language: json
If the override doesn't specify a value or package entry the default
If the override file doesn't specify a value or package entry the default
version will be used.
#]=======================================================================]
Expand Down

0 comments on commit eb2c995

Please sign in to comment.