We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb53026 commit c59b09bCopy full SHA for c59b09b
setup.py
@@ -53,7 +53,8 @@ def build_extension(self, ext):
53
cmake_args = [
54
f"-DCMAKE_BUILD_TYPE={cfg}",
55
f"-DCMAKE_INSTALL_PREFIX={bf_dir}",
56
- f"-Dpybind11_DIR={pybind11_dir}"
+ f"-Dpybind11_DIR={pybind11_dir}",
57
+ f"-DPython_EXECUTABLE={sys.executable}"
58
]
59
60
# Optional: use Ninja if available
0 commit comments