Skip to content

Commit ad8b825

Browse files
committed
ensure OCCT is built for target 11.1
1 parent fef0bcd commit ad8b825

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/actions/build-sdks/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,10 @@ runs:
294294
295295
if [[ "$RUNNER_OS" == "Linux" ]]; then
296296
export CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" # Disables the C++11 ABI features for VTK compatibility
297+
elif [[ "$RUNNER_OS" == "macOS" ]]; then
298+
export CFLAGS="-mmacosx-version-min=11.1"
299+
export CXXFLAGS="-mmacosx-version-min=11.1"
300+
export LDFLAGS="-mmacosx-version-min=11.1"
297301
fi
298302
299303
if [[ "${{ inputs.use-vtk }}" == "vtk" ]]; then

0 commit comments

Comments
 (0)