This works with pkg-config and cmake without any special support. The custom factory adds further support for config-tool, via `pybind11-config`. This is useful because the config-tool will work out of the box when pybind11 is installed, but the pkg-config and cmake files are shoved into python's site-packages, which is an unfortunate distribution model and makes it impossible to use in an out of the box manner. It's possible to manually set up the PKG_CONFIG_PATH to detect it anyway, but in case that does not happen, having the config-tool fallback is extremely useful.pull/11463/head
parent
162ac25beb
commit
62c269d088
4 changed files with 40 additions and 1 deletions
@ -0,0 +1,9 @@ |
||||
## New pybind11 custom dependency |
||||
|
||||
`dependency('pybind11')` works with pkg-config and cmake without any special |
||||
support, but did not handle the `pybind11-config` script. |
||||
|
||||
This is useful because the config-tool will work out of the box when pybind11 |
||||
is installed, but the pkg-config and cmake files are shoved into python's |
||||
site-packages, which makes it impossible to use in an out of the box manner. |
||||
|
Loading…
Reference in new issue