Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Mar 24, 2024
1 parent c68b7b8 commit 5043350
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ def build_extension(self, ext):
'-DBUILD_TEST=OFF',
'-DBUILD_BENCHMARK=OFF',
'-DUSE_PYTHON=ON',
f'-DPython3_ROOT_DIR={sys.exec_prefix}',
f'-DPython_ROOT_DIR={sys.exec_prefix}',
f'-DPython_EXECUTABLE={sys.executable}',
f'-DWITH_CUDA={"ON" if WITH_CUDA else "OFF"}',
f'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={extdir}',
f'-DCMAKE_BUILD_TYPE={self.build_type}',
Expand Down

0 comments on commit 5043350

Please sign in to comment.