This adds fmt as a full dependency alongside spdlog.
Changes
fmt is now looked for and linked to independent from spdlog, and has a download automatically option
spdlog is now told to use external fmt (and this is propagated to consumers of malloy-*)
All includes of spdlog's bundled fmt have been replaced by includes of the standalone fmt
Notes
fmt exposes different symbols (or I'm guessing thats the issue anyway) depending on the value of FMT_SHARED at build time. The fedora package for fmt is missing these symbols (despite the fact its a shared lib) and fails to link when building malloy as a shared lib. I've confirmed it works with the downloaded fmt and an fmt I built from source with the proper flags.
This adds fmt as a full dependency alongside spdlog.
Changes
fmt
is now looked for and linked to independent fromspdlog
, and has a download automatically optionspdlog
is now told to use externalfmt
(and this is propagated to consumers ofmalloy-*
)spdlog
's bundled fmt have been replaced by includes of the standalone fmtNotes
fmt exposes different symbols (or I'm guessing thats the issue anyway) depending on the value of
FMT_SHARED
at build time. The fedora package for fmt is missing these symbols (despite the fact its a shared lib) and fails to link when building malloy as a shared lib. I've confirmed it works with the downloaded fmt and an fmt I built from source with the proper flags.Resolves #78