Skip to content

Commit 497c321

Browse files
fred-schhenryiii
authored andcommitted
fix: typo in documentation (#5284)
1 parent 941f45b commit 497c321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/compiling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ A Python extension module can be created with just a few lines of code:
2525
find_package(pybind11 CONFIG REQUIRED)
2626
2727
pybind11_add_module(example example.cpp)
28-
install(TARGET example DESTINATION .)
28+
install(TARGETS example DESTINATION .)
2929
3030
(You use the ``add_subdirectory`` instead, see the example in :ref:`cmake`.) In
3131
this example, the code is located in a file named :file:`example.cpp`. Either

0 commit comments

Comments
 (0)