mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
Upstream0beb18c9e("Deps: Update rapidyaml to v0.11.1", 2026-03-29) deleted the vendored 3rdparty/rapidyaml and switched to find_package(ryml REQUIRED), making ryml a system/external dependency. That breaks self-contained and cross builds (e.g. the rocknix handheld toolchain) which have no system ryml available. Restore the in-tree copy (v0.10.0, from 0beb18c9e^) and point the build back at it: add_subdirectory(3rdparty/rapidyaml) instead of find_package, and link rapidyaml::rapidyaml. The C++ side needs no changes: common/YAML.cpp is already version-guarded (0804b68fc"Common: Fix build with older ryml", RYML_VERSION_MINOR >= 11) so it compiles against v0.10 unchanged. Also drop ryml.dll from the Windows dep-copy list since it's now statically linked. This is a deliberate fork-local divergence from upstream's un-bundling, kept so downstream builders don't have to provision ryml themselves. Configures without a system ryml and builds end-to-end (common + pcsx2-qt) using the in-tree library. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>