Skip to content

cmake: guard the vendored stb target like googletest - #30

Merged
rxdu merged 1 commit into
mainfrom
fix/guard-vendored-stb
Jul 8, 2026
Merged

cmake: guard the vendored stb target like googletest#30
rxdu merged 1 commit into
mainfrom
fix/guard-vendored-stb

Conversation

@rxdu

@rxdu rxdu commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Superbuilds that already provide an stb target (xmNavigation vendors the same rxdu/stb fork) collide with the unconditional add_subdirectory(stb). Reuse the existing target when present — the exact pattern the googletest block below it already uses. Found while evaluating the quickviz pin bump in xmNavigation.

Superbuilds that already provide an stb target (xmNavigation vendors
the same fork) collide with an unconditional add_subdirectory; reuse
the existing target when present, matching the googletest guard.
@rxdu
rxdu merged commit edeb589 into main Jul 8, 2026
5 checks passed
@rxdu
rxdu deleted the fix/guard-vendored-stb branch July 8, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant