Files
Jason Rhinelander 3751212ca9 Fix fmt/spdlog linking when using system lib
When we load oxen-logging via system lib, the code that was supposed to
also inject fmt/spdlog with it was not working properly because the "did
we go via submodule" was falsely returning true.  This fixes it by using
an intermediate library so that we can properly distinguish between the
cases (final oxen::logging exists - submodule, which already gives
fmt/spdlog; otherwise use the intermediate target and set final
oxen::logging alias manually).

This also fixes the default STATIC_BUNDLE to depend on
BUILD_STATIC_DEPS, rather than NOT BUILD_SHARED_LIBS, so that
-DBUILD_STATIC_DEPS=OFF doesn't accidentally default to attempting a
static bundle without static deps.  (That case is also now detected and
becomes a fatal error).
2026-07-23 16:29:22 -03:00
..