Skip to content

Commit

Permalink
Set arch properly for win32 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-hunt committed Jun 15, 2022
1 parent 9a37b8d commit d4f3b1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/setup.py
Expand Up @@ -155,6 +155,8 @@ def build_extension(self, ext):
cmake_args += ['-G', cmake_gen]
elif sys.maxsize > 2**32:
cmake_args += ['-A', 'x64']
else:
cmake_args += ['-A', 'x86']
else:
cmake_args += ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir]

Expand Down

0 comments on commit d4f3b1a

Please sign in to comment.