mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-20 14:59:27 +00:00
refactor: import check as a common function (#2526)
* feat: import check as a common function * docs: add cmake to docs
This commit is contained in:
9
docs/cmake/index.rst
Normal file
9
docs/cmake/index.rst
Normal file
@@ -0,0 +1,9 @@
|
||||
CMake helpers
|
||||
-------------
|
||||
|
||||
Pybind11 can be used with ``add_subdirectory(extern/pybind11)``, or from an
|
||||
install with ``find_package(pybind11 CONFIG)``. The interface provided in
|
||||
either case is functionally identical.
|
||||
|
||||
.. cmake-module:: ../../tools/pybind11Config.cmake.in
|
||||
|
||||
Reference in New Issue
Block a user