diff --git a/CMakeLists.txt b/CMakeLists.txt index 62599cf..8c2d22e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ if (WIN32) # set windows 7 as the minimum version add_definitions(-D_WIN32_WINNT=0x0602) elseif(APPLE) - set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15") + set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0") elseif(UNIX) set(CMAKE_POSITION_INDEPENDENT_CODE ON) else() diff --git a/setup.py b/setup.py index 35b36cf..9d3ddee 100644 --- a/setup.py +++ b/setup.py @@ -87,7 +87,7 @@ def build_extension(self, ext: Extension) -> None: arch = platform.machine() if arch not in ("arm64", "x86_64"): raise RuntimeError(f"Unsupported architecture: {arch}") - options["bdist_wheel"] = {"plat_name": f"macosx_10_15_{arch}"} + options["bdist_wheel"] = {"plat_name": f"macosx_11_0_{arch}"} setup(