Skip to content

deps: granular per-package system-library overrides#903

Merged
jcelerier merged 1 commit into
masterfrom
feature/vendoring-cmake-variables
Jun 22, 2026
Merged

deps: granular per-package system-library overrides#903
jcelerier merged 1 commit into
masterfrom
feature/vendoring-cmake-variables

Conversation

@jcelerier

Copy link
Copy Markdown
Member

Adds ossia_use_system(out pkg) (in cmake/OssiaOptions.cmake) and converts every cmake/deps/*.cmake guard from if(OSSIA_USE_SYSTEM_LIBRARIES) to a per-package, tri-state override.

Each dependency gets an OSSIA_USE_SYSTEM_<FindPackageName> cache variable (suffix = the library's find_package name: re2, fmt, spdlog, KFR, async-mqtt5, Catch2, …). When left empty it follows the global OSSIA_USE_SYSTEM_LIBRARIES; set to ON/OFF it overrides that package only. Default is unchanged (empty → global → vendored).

Enables distros to unvendor selectively, e.g. -DOSSIA_USE_SYSTEM_LIBRARIES=ON -DOSSIA_USE_SYSTEM_re2=OFF.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S5akSKFxSnxVz3RtLyU9QN
@jcelerier jcelerier temporarily deployed to Apple Certificate June 21, 2026 21:07 — with GitHub Actions Inactive
@jcelerier jcelerier temporarily deployed to Apple Certificate June 21, 2026 21:07 — with GitHub Actions Inactive
@jcelerier jcelerier temporarily deployed to Apple Certificate June 21, 2026 21:07 — with GitHub Actions Inactive
@jcelerier jcelerier temporarily deployed to Apple Certificate June 21, 2026 21:07 — with GitHub Actions Inactive
@jcelerier jcelerier temporarily deployed to Apple Certificate June 21, 2026 21:07 — with GitHub Actions Inactive
@jcelerier jcelerier temporarily deployed to Apple Certificate June 21, 2026 21:07 — with GitHub Actions Inactive
@jcelerier jcelerier temporarily deployed to Apple Certificate June 21, 2026 21:07 — with GitHub Actions Inactive
@jcelerier jcelerier temporarily deployed to Apple Certificate June 21, 2026 21:07 — with GitHub Actions Inactive
@jcelerier jcelerier temporarily deployed to Apple Certificate June 21, 2026 21:07 — with GitHub Actions Inactive
@jcelerier jcelerier temporarily deployed to Apple Certificate June 21, 2026 21:07 — with GitHub Actions Inactive
@jcelerier jcelerier temporarily deployed to Apple Certificate June 21, 2026 21:07 — with GitHub Actions Inactive
@jcelerier jcelerier merged commit eb75eb0 into master Jun 22, 2026
46 of 47 checks passed
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