Skip to content

Commit

Permalink
docs: correct the order of entry-points and CMake variables (#948)
Browse files Browse the repository at this point in the history
I guess `cmake.module` should correspond to `CMAKE_MODULE_PATH` and
`cmake.prefix` should correspond to `CMAKE_PREFIX_PATH`, otherwise, it's
confusing.
  • Loading branch information
njzjz authored Nov 21, 2024
1 parent 6862c65 commit 6330b42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/cmakelists.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ so packages can provide a find package config with a name matching the package
name - such as the `pybind11` package.

Third party packages can declare entry-points `cmake.module` and `cmake.prefix`,
and the specified module will be added to `CMAKE_PREFIX_PATH` and
`CMAKE_MODULE_PATH`, respectively. Currently, the key is not used, but
and the specified module will be added to `CMAKE_MODULE_PATH` and
`CMAKE_PREFIX_PATH`, respectively. Currently, the key is not used, but
eventually there might be a way to request or exclude certain entry-points by
key.

Expand Down

0 comments on commit 6330b42

Please sign in to comment.