Skip to content

Commit aef3e42

Browse files
committed
fix?
1 parent a01d4a9 commit aef3e42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def build_extension(self, ext):
6868
env['CXXFLAGS'] = '{} -DVERSION_INFO=\\"{}\\"'.format(env.get('CXXFLAGS', ''), self.distribution.get_version())
6969
if not os.path.exists(self.build_temp):
7070
os.makedirs(self.build_temp)
71+
cmake_args += ['-DCMAKE_OSX_ARCHITECTURES:STRING="x86_64;arm64"']
7172
subprocess.check_call(['cmake'] + cmake_args + [ext.sourcedir], cwd=self.build_temp, env=env)
7273
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
7374
print() # Add an empty line for cleaner output

0 commit comments

Comments
 (0)