Skip to content

Commit 02bc6d5

Browse files
madisvainclaude
andcommitted
Fix macOS build: set deployment target to 14.0
libcdoc uses C++23 features requiring macOS 14+. Set deployment target accordingly. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent ceee11a commit 02bc6d5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,11 @@ jobs:
130130
fi
131131
# cmake and swig installed via brew in Install dependencies step
132132
CIBW_BEFORE_BUILD_WINDOWS: uv pip install --system cmake swig
133-
# Set OpenSSL path on macOS
133+
# Set OpenSSL path on macOS and require macOS 14+ for C++23 features
134134
CIBW_ENVIRONMENT_MACOS: >
135135
OPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3
136136
CMAKE_PREFIX_PATH=/opt/homebrew
137+
MACOSX_DEPLOYMENT_TARGET=14.0
137138
# Repair wheels
138139
CIBW_REPAIR_WHEEL_COMMAND_LINUX: auditwheel repair -w {dest_dir} {wheel}
139140
CIBW_REPAIR_WHEEL_COMMAND_MACOS: delocate-wheel -w {dest_dir} {wheel}

0 commit comments

Comments
 (0)