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

Do not blanket-set include dirs and link libs #235

Merged
merged 2 commits into from
Mar 12, 2018

Conversation

robertodr
Copy link
Contributor

Not all targets in the project necessarily depend on Python.h and libpython.

Not all targets in the project necessarily depend on `Python.h` and `libpython`.
@bast
Copy link
Member

bast commented Mar 9, 2018

Good catch! Ugly stuff is going on in there :-) We need to revamp it :-)

@robertodr
Copy link
Contributor Author

robertodr commented Mar 9, 2018 via email

@robertodr
Copy link
Contributor Author

What do you say we use the find Python libs module in PyBind11?

@bast
Copy link
Member

bast commented Mar 10, 2018

The python tests are now new failing tests. Would you like me to look into that or will you have a look?

@bast
Copy link
Member

bast commented Mar 10, 2018

About pybind11: you mean in the book?

@robertodr
Copy link
Contributor Author

I meant copy-pasting this module into Autocmake: https://github.com/pybind/pybind11/blob/master/tools/FindPythonLibsNew.cmake It seems to be able to consistently find the right version of libraries given an interpreter (which the standard CMake module still struggles with) I'll look into the tests, I had committed though the web UI.

@bast
Copy link
Member

bast commented Mar 10, 2018

Thanks! Now I understand - yes, sounds good.

@bast bast merged commit dd806da into dev-cafe:master Mar 12, 2018
@bast
Copy link
Member

bast commented Mar 12, 2018

Thanks!

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.

None yet

2 participants