Skip to content

Commit 6330b42

Browse files
authored
docs: correct the order of entry-points and CMake variables (#948)
I guess `cmake.module` should correspond to `CMAKE_MODULE_PATH` and `cmake.prefix` should correspond to `CMAKE_PREFIX_PATH`, otherwise, it's confusing.
1 parent 6862c65 commit 6330b42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cmakelists.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ so packages can provide a find package config with a name matching the package
8181
name - such as the `pybind11` package.
8282

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

0 commit comments

Comments
 (0)