fmt: prefer system package if found

mu embeds a "vendored" subset of the libfmt package under thirdparty; but it's
better to use the system-package if the user has one.

So, use the system package if found or user -Duse-embedded-fmt=true is
specified.
This commit is contained in:
Dirk-Jan C. Binnema
2025-07-19 09:31:16 +03:00
parent f90839b48b
commit 33958cd0f7
20 changed files with 40 additions and 13 deletions

5
thirdparty/fmt/fmt/core.h vendored Normal file
View File

@ -0,0 +1,5 @@
// This file is only provided for compatibility and may be removed in future
// versions. Use fmt/base.h if you don't need fmt::format and fmt/format.h
// otherwise.
#include "format.h"