Fix build errors for explicitly using libfmt
Some checks failed
Build ptprnt / build (push) Failing after 35s

This commit is contained in:
2023-11-19 14:22:48 +01:00
parent dd496a325b
commit e2c524f7c9
7 changed files with 12 additions and 8 deletions

View File

@@ -6,6 +6,7 @@ project('ptprnt', 'cpp',
usb_dep = dependency('libusb-1.0')
log_dep = dependency('spdlog')
fmt_dep = dependency('fmt')
pangocairo_dep = dependency('pangocairo')
# CLI11
@@ -23,7 +24,7 @@ ptprnt_exe = executable(
'ptprnt',
'src/main.cpp',
install: true,
dependencies : [usb_dep, log_dep, pangocairo_dep, cli11_dep],
dependencies : [usb_dep, log_dep, fmt_dep, pangocairo_dep, cli11_dep],
include_directories: incdir,
sources: [ptprnt_srcs],
cpp_args : ['-DPROJ_VERSION="'+meson.project_version()+'"'],