diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 81b64b72..f1bcb2a8 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -26,6 +26,8 @@ jobs: - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse + env: + CIBW_ENVIRONMENT: MACOSX_DEPLOYMENT_TARGET=${{ (matrix.os == 'macos-14') && '14.0' || '13.0' }} - uses: actions/upload-artifact@v4 with: diff --git a/pyproject.toml b/pyproject.toml index e7988ab2..bc96cbac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,7 +80,6 @@ build-verbosity = 1 [tool.cibuildwheel.macos.environment] CMAKE_PREFIX_PATH = "$(brew --prefix)/opt/openblas" -MACOSX_DEPLOYMENT_TARGET = "14.0" [tool.cibuildwheel.macos] before-all = [