You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working with CMake, one can tell CMake where to find the correct python path for the python bindings with something like
-DPython_EXECUTABLE=/path/to/python/
But if one uses only conan to install, one just uses conan build .. and conan will call CMake itself. Therefore, it might be a good idea to add an option in conan where one can pass the python path, so something like
When working with CMake, one can tell CMake where to find the correct python path for the python bindings with something like
But if one uses only conan to install, one just uses
conan build ..
and conan will call CMake itself. Therefore, it might be a good idea to add an option in conan where one can pass the python path, so something likeconan install .. -o with_python=True -o python_executable="/path/to/python/library"
which would in turn do something like
self._cmake.definitions["Python_EXECUTABLE"] = self.options.python_executable
inside the conanfile.
The text was updated successfully, but these errors were encountered: