Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerstmayr authored Jun 4, 2024
1 parent 7f24f56 commit 7bc5535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ class BuildExt(build_ext):
if sys.platform == 'darwin':
# darwin_opts = ['-stdlib=libc++', '-mmacosx-version-min=10.7'] #without c++17 support
# darwin_opts += ['-Wno-unused-variable','-Wno-missing-braces','-Wno-return-stack-address']
darwin_opts = ['-stdlib=libc++', '-mmacosx-version-min=10.9'] #for c++17 support (not working on older MacOSX)
darwin_opts = ['-stdlib=libc++', '-mmacosx-version-min=11.0'] #for c++17 support (not working on older MacOSX)
c_opts['unix'] += darwin_opts + ['-Wno-inconsistent-missing-override',
'-Wno-overloaded-virtual', #avoid too many warnings
'-Wno-deprecated-declarations', #avoid too many OpenGL warnings on Big Sur
Expand Down

0 comments on commit 7bc5535

Please sign in to comment.