We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 941f45b commit 497c321Copy full SHA for 497c321
docs/compiling.rst
@@ -25,7 +25,7 @@ A Python extension module can be created with just a few lines of code:
25
find_package(pybind11 CONFIG REQUIRED)
26
27
pybind11_add_module(example example.cpp)
28
- install(TARGET example DESTINATION .)
+ install(TARGETS example DESTINATION .)
29
30
(You use the ``add_subdirectory`` instead, see the example in :ref:`cmake`.) In
31
this example, the code is located in a file named :file:`example.cpp`. Either
0 commit comments