3rdparty: granular per-package system-library overrides - #2091
Open
jcelerier wants to merge 6 commits into
Open
Conversation
jcelerier
force-pushed
the
feature/vendoring-cmake-variables
branch
2 times, most recently
from
June 24, 2026 00:42
28a1177 to
1e14e42
Compare
jcelerier
force-pushed
the
feature/vendoring-cmake-variables
branch
from
July 21, 2026 14:12
1e14e42 to
5fcd28b
Compare
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S5akSKFxSnxVz3RtLyU9QN
…deEditor, clap Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S5akSKFxSnxVz3RtLyU9QN
Extract phantomstyle, Gist, miniply, mikktspace, vcglib, opengametools, outcome, llfio and quickcpplib into their own targets instead of compiling their sources / include dirs directly into consumers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S5akSKFxSnxVz3RtLyU9QN
ssynth, miniply, mikktspace, vcglib, opengametools and Gist are now defined in 3rdparty/*.cmake like the other dependencies; the threedim and analysis plugins include() them. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S5akSKFxSnxVz3RtLyU9QN
snappy, shmdata, sh4lt, suil and wiiuse now build the vendored copy when the system package is requested but not found, instead of failing. Bumps libossia (wiiuse). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S5akSKFxSnxVz3RtLyU9QN
…gametools Give the relocated standalone deps the same tri-state OSSIA_USE_SYSTEM_<pkg> find path + vendored fallback as the others, instead of vendored-only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S5akSKFxSnxVz3RtLyU9QN
jcelerier
force-pushed
the
feature/vendoring-cmake-variables
branch
from
August 18, 2026 01:08
5fcd28b to
b7039b4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lets distros unvendor third-party dependencies selectively instead of the all-or-nothing
SCORE_USE_SYSTEM_LIBRARIES.Mechanism
score_use_system(out pkg)incmake/ScoreConfiguration.cmake, mirroring libossia'sossia_use_system. The namespace is unified onOSSIA_USE_SYSTEM_*;SCORE_USE_SYSTEM_LIBRARIESstill works as a forwarding alias.OSSIA_USE_SYSTEM_<FindPackageName>cache variable. Empty → follows the global;ON/OFFoverrides that one package. Defaults unchanged (empty → global → vendored).Scope
3rdparty/*.cmakeguards converted (SndFile, Snappy, eigen, xtensor, snmalloc, shmdata, sh4lt, Suil, libpd, vst3, Faust).find_packagebranches to deps that previously had none: dspfilters, gamma, r8brain, simpleio, QCodeEditor, clap.score_lib_base(useSCORE_LIB_BASE_EXPORT, not separable): zipdownloader, QProgressIndicator, Qt-Color-Widgets.Requires ossia/libossia#903 (submodule bump included).
Validation
OSSIA_USE_SYSTEM_LIBRARIES=ONwith granularOFFfor the packages not installed locally): configures and compiles; only failure is unrelated system-FFmpegAVVulkanDeviceContextAPI skew in score-plugin-gfx.🤖 Generated with Claude Code