Skip to content

Commit 96df290

Browse files
committed
fix
1 parent bd7a732 commit 96df290

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_extensions():
2121
Extension = CppExtension
2222
define_macros = []
2323
extra_compile_args = {'cxx': []}
24-
extra_link_args = []
24+
extra_link_args = ['metis.lib']
2525

2626
if WITH_CUDA:
2727
Extension = CUDAExtension
@@ -32,7 +32,7 @@ def get_extensions():
3232
extra_compile_args['nvcc'] = nvcc_flags
3333

3434
if sys.platform == 'win32':
35-
extra_link_args += ['cusparse.lib', 'metis.lib']
35+
extra_link_args += ['cusparse.lib']
3636
else:
3737
extra_link_args += ['-lcusparse', '-l', 'cusparse']
3838

0 commit comments

Comments
 (0)