Skip to content

Commit

Permalink
Added minimum macos version
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlegiantJGC committed Feb 18, 2024
1 parent a99ecd8 commit 633e6d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import numpy
import sysconfig
from distutils import ccompiler
import sys

if (sysconfig.get_config_var("CXX") or ccompiler.get_default_compiler()).split()[
0
Expand All @@ -12,6 +13,9 @@
else:
CompileArgs = "-std=c++20"

if sys.platform == "darwin":
CompileArgs += " -mmacosx-version-min=10.13"


setup(
version=versioneer.get_version(),
Expand Down

0 comments on commit 633e6d6

Please sign in to comment.