Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pkg-config support #230

Closed
yegorich opened this issue Jun 8, 2016 · 1 comment · Fixed by #4077
Closed

Add pkg-config support #230

yegorich opened this issue Jun 8, 2016 · 1 comment · Fixed by #4077

Comments

@yegorich
Copy link

yegorich commented Jun 8, 2016

Adding pybind11.pc (https://www.freedesktop.org/wiki/Software/pkg-config/) to setup.py would greatly simplify the task of finding pybind11 via CMake.

@wjakob
Copy link
Member

wjakob commented Jun 8, 2016

Does setup.py even have a mechanism to install .pc files into the right places? That said, this is not really a priority for me, and I don't consider it an issue (so I am closing this ticket).

@wjakob wjakob closed this as completed Jun 8, 2016
eli-schwartz added a commit to eli-schwartz/pybind11 that referenced this issue Jul 17, 2022
pkg-config is a buildsystem-agnostic alternative to
`pybind11Config.cmake` that can be used from build systems other than
cmake.

Fixes pybind#230
eli-schwartz added a commit to eli-schwartz/pybind11 that referenced this issue Jul 17, 2022
pkg-config is a buildsystem-agnostic alternative to
`pybind11Config.cmake` that can be used from build systems other than
cmake.

Fixes pybind#230
henryiii pushed a commit to eli-schwartz/pybind11 that referenced this issue Aug 8, 2022
pkg-config is a buildsystem-agnostic alternative to
`pybind11Config.cmake` that can be used from build systems other than
cmake.

Fixes pybind#230
henryiii added a commit that referenced this issue Aug 9, 2022
…tion (#4077)

* add installation support for pkg-config dependency detection

pkg-config is a buildsystem-agnostic alternative to
`pybind11Config.cmake` that can be used from build systems other than
cmake.

Fixes #230

* tests: add test for pkg config

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
Qingwu-Li added a commit to Qingwu-Li/meta-openembedded that referenced this issue Oct 17, 2023
pkg-config not support in pybind11_2.8.1
add the patch to find pybind11 via meson or cmake.
more information  see [1]

[1] pybind/pybind11#230
Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
Qingwu-Li added a commit to Qingwu-Li/meta-openembedded that referenced this issue Oct 17, 2023
pkg-config not support in pybind11_2.8.1
add the patch to find pybind11 via meson or cmake.
more information  see [1]

[1] pybind/pybind11#230
Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
Qingwu-Li added a commit to Qingwu-Li/meta-openembedded that referenced this issue Nov 9, 2023
pkg-config not support in pybind11_2.8.1
add the patch to find pybind11 via meson or cmake.
more information  see [1]

[1] pybind/pybind11#230
Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
Qingwu-Li added a commit to Qingwu-Li/meta-openembedded that referenced this issue Nov 9, 2023
pkg-config not support in pybind11_2.8.1
add the patch to find pybind11 via meson or cmake.
more information  see [1]

[1] pybind/pybind11#230
Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants