Skip to content

Commit

Permalink
mmacosx-version-min
Browse files Browse the repository at this point in the history
  • Loading branch information
MiXaiLL76 committed Oct 30, 2024
1 parent e1f7cce commit f7a3ab8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ def get_extensions(version_info):

if MACOS:
kwargs["extra_compile_args"].append("-std=c++" + str(kwargs.pop("cxx_std")))

kwargs["extra_compile_args"].append("-mmacosx-version-min=10.13")

ext_modules += [Pybind11Extension(name="faster_coco_eval.faster_eval_api_cpp", sources=sources, **kwargs)]

sources = [
Expand Down

0 comments on commit f7a3ab8

Please sign in to comment.