Skip to content

Commit 16b9f51

Browse files
committed
Fix linux
1 parent fafdfe8 commit 16b9f51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ def build_extension(self, ext):
120120
f"-DPython_INCLUDE_DIRS={get_python_includes_path()}",
121121
f"-DPython_LIBRARY_DIRS={get_python_lib_path()}"
122122
]
123+
else:
124+
cmake_args += [f"-DPYTHON_EXECUTABLE={sys.executable}"]
123125

124126
if self.build_for_coverage:
125127
cmake_args += ["-DYUP_ENABLE_COVERAGE:BOOL=ON"]

0 commit comments

Comments
 (0)