Skip to content

Commit 51dbe45

Browse files
andyclaude
andcommitted
CI macOS: build with ECCE_USE_COIN against Homebrew's coin3d (#166, #133)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R9WkbXZ96rqCJxYuumcrgF
1 parent 2f22e9a commit 51dbe45

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/build.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,12 @@ jobs:
245245
# equivalent and doesn't ship X11 at all by default. XQuartz
246246
# is the standard way to get real X11/Xt headers+libs on macOS.
247247
brew install --cask xquartz
248+
# The vendored Inventor core needs GLX and pre-C++17 code that
249+
# Apple's compiler rejects; the Coin build (#166) skips it.
250+
brew install coin3d || { echo "::error::Homebrew has no coin3d formula"; exit 1; }
248251
249252
- name: Configure
250-
run: cmake -G Ninja -B build-cmake -DCMAKE_PREFIX_PATH=/opt/X11
253+
run: cmake -G Ninja -B build-cmake -DECCE_USE_COIN=ON -DCMAKE_PREFIX_PATH="/opt/X11;$(brew --prefix)"
251254

252255
- name: Build
253256
run: cmake --build build-cmake

0 commit comments

Comments
 (0)