diff options
| author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2026-04-30 09:35:03 +0300 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2026-04-30 11:09:49 +0300 |
| commit | f9da4640c4098107aefc6c02b12b543384cccc50 (patch) | |
| tree | 275e3dcc5a709be2e2367520a2fba294a191969f /utils | |
| parent | a31ddfd9c4e294f29b9203463022d0eac11cecc5 (diff) | |
Drop libfmt
We can use std::format() and a custom print() wrapper with C++20. When
moving to C++23, we can drop the wrapper.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/kmsprint.cpp | 2 | ||||
| -rw-r--r-- | utils/kmstest.cpp | 2 | ||||
| -rw-r--r-- | utils/meson.build | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/utils/kmsprint.cpp b/utils/kmsprint.cpp index d8b4219..849c05c 100644 --- a/utils/kmsprint.cpp +++ b/utils/kmsprint.cpp @@ -4,7 +4,7 @@ #include <iostream> #include <string> #include <unistd.h> -#include <fmt/format.h> +#include <kms++/format.h> #include <kms++/kms++.h> #include <kms++util/kms++util.h> diff --git a/utils/kmstest.cpp b/utils/kmstest.cpp index 76b64ca..40143c3 100644 --- a/utils/kmstest.cpp +++ b/utils/kmstest.cpp @@ -9,7 +9,7 @@ #include <sys/select.h> -#include <fmt/format.h> +#include <kms++/format.h> #include <kms++/kms++.h> #include <kms++/modedb.h> diff --git a/utils/meson.build b/utils/meson.build index b1d3082..54021d3 100644 --- a/utils/meson.build +++ b/utils/meson.build @@ -10,7 +10,7 @@ endif utils_enabled = true -common_deps = [ libkmsxx_dep, libkmsxxutil_dep, libfmt_dep ] +common_deps = [ libkmsxx_dep, libkmsxxutil_dep ] libevdev_dep = dependency('libevdev', required : false) |
