Open Dariusz1989 opened 1 year ago
The above is a jumble of settings that are from multiple ways to do things - you should not use FindPython and FindPythonInterp/Libs! Either you want PYTHON_*
variables or Python_*
variables, not both. Pybind11 supports either one, if you find_package(Python ...)
before finding pybind11, then it will switch to that (newer) method of finding Python.
scikit-build-core example has an example of using the pybind11 pip package instead of a submodule (there it just works because scikit-build-core adds your site-packages to the prefix path automatically).
Hey
So I have a little complex library here and I need to be "in control" of what goes where/how... Here is my RnD test that "builds" but fails to work/import in python... would any1 be able to look in to it ?
Now my current problem is that I can't use find_package. It works fine in Clion, but in visual studio 2022 it returns python 310 instead of 37 that I specified. No matter what I try he's ignoring my requests. In any case, I've decided to ignore that find package and link by hand....
Can any1 help out ? @dean0x7d @henryiii