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

Revisit CMake logic for creating Python extensions with pybind11 #721

Open
kordejong opened this issue Oct 2, 2024 · 0 comments
Open

Revisit CMake logic for creating Python extensions with pybind11 #721

kordejong opened this issue Oct 2, 2024 · 0 comments

Comments

@kordejong
Copy link
Member

On some platforms it is necessary to explicitly link to Python::Python, besides linking against pybind11::module. The docs suggest that linking against pybind11::module should be enough (https://pybind11.readthedocs.io/en/stable/compiling.html#advanced-interface-library-targets).

velocity and Saeb's computer, linking lue_py_framework_x fails. After linking against Python::Python it succeeds. Maybe something else is going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants