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

Remove redundant fPIC check and improve pybind11 config #24

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

jellespijker
Copy link
Member

This commit removes the redundant fPIC option check for shared builds in the conanfile.py. Additionally, it improves the CMakeLists.txt for pyDulcificum to correctly find the Python components required for building and linking the module, ensuring compatibility and correct linking with the Conan CPython library.

This commit removes the redundant fPIC option check for shared builds in the `conanfile.py`. Additionally, it improves the `CMakeLists.txt` for `pyDulcificum` to correctly find the Python components required for building and linking the module, ensuring compatibility and correct linking with the Conan CPython library.
@jellespijker
Copy link
Member Author

This should fix the issue that @Frederic98 was encountering when trying to build from source

Copy link
Contributor

@wawanbreton wawanbreton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, I had to do similar things on the Conan2 branch for other python bindings

@wawanbreton wawanbreton merged commit 25e4c9a into main Sep 17, 2024
2 checks passed
@wawanbreton wawanbreton deleted the fix-python-binding-build branch September 17, 2024 09:12
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 this pull request may close these issues.

2 participants