diff --git a/include/pmtv/format.hpp b/include/pmtv/format.hpp index dc5dc3d..0893ecb 100644 --- a/include/pmtv/format.hpp +++ b/include/pmtv/format.hpp @@ -2,6 +2,7 @@ // Gcc12 does not support it. // Eventually replace with std::format when that is widely available. #include +#include namespace fmt { template <> diff --git a/meson.build b/meson.build index 08bd4f2..b81d7b8 100644 --- a/meson.build +++ b/meson.build @@ -98,7 +98,7 @@ endif gtest_dep = dependency('gtest', main : true, version : '>=1.10', required : get_option('enable_testing')) gtest_main_dep = dependency('gtest_main', version : '>=1.10', required : get_option('enable_testing')) CLI11_dep = dependency('CLI11', fallback : [ 'cli11' , 'CLI11_dep' ]) -fmt_dep = dependency('fmt', version:'>=8.1.1') +fmt_dep = dependency('fmt', version:'>=10.0.0') cmake = import('cmake') diff --git a/subprojects/fmt.wrap b/subprojects/fmt.wrap index a0782aa..7a0f1bb 100644 --- a/subprojects/fmt.wrap +++ b/subprojects/fmt.wrap @@ -1,12 +1,12 @@ [wrap-file] -directory = fmt-8.1.1 -source_url = https://github.com/fmtlib/fmt/archive/8.1.1.tar.gz -source_filename = fmt-8.1.1.tar.gz -source_hash = 3d794d3cf67633b34b2771eb9f073bde87e846e0d395d254df7b211ef1ec7346 -patch_filename = fmt_8.1.1-2_patch.zip -patch_url = https://wrapdb.mesonbuild.com/v2/fmt_8.1.1-2/get_patch -patch_hash = cd001046281330a8862591780a9ea71a1fa594edd0d015deb24e44680c9ea33b -wrapdb_version = 8.1.1-2 +directory = fmt-11.0.2 +source_url = https://github.com/fmtlib/fmt/archive/11.0.2.tar.gz +source_filename = fmt-11.0.2.tar.gz +source_hash = 6cb1e6d37bdcb756dbbe59be438790db409cdb4868c66e888d5df9f13f7c027f +patch_filename = fmt_11.0.2-1_patch.zip +patch_url = https://wrapdb.mesonbuild.com/v2/fmt_11.0.2-1/get_patch +patch_hash = 90c9e3b8e8f29713d40ca949f6f93ad115d78d7fb921064112bc6179e6427c5e +wrapdb_version = 11.0.2-1 [provide] fmt = fmt_dep \ No newline at end of file