Skip to content

Commit 32155ff

Browse files
committed
docs: wording incorrect
1 parent 322d8cf commit 32155ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/pybind11NewTools.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ if(DEFINED ${_Python}_INCLUDE_DIRS)
130130
# Only add Python for build - must be added during the import for config
131131
# since it has to be re-discovered.
132132
#
133-
# This needs to be an target to it is included after the local pybind11
134-
# directory, just in case there are multiple versions of pybind11, we want
135-
# the one we expect.
133+
# This needs to be a target to be included after the local pybind11
134+
# directory, just in case there there is an installed pybind11 sitting
135+
# next to Python's includes. It also ensures Python is a SYSTEM library.
136136
add_library(pybind11::python_headers INTERFACE IMPORTED)
137137
set_property(
138138
TARGET pybind11::python_headers PROPERTY INTERFACE_INCLUDE_DIRECTORIES

0 commit comments

Comments
 (0)