Skip to content

Commit

Permalink
Update fmt dep so that we can compile everywhere
Browse files Browse the repository at this point in the history
Signed-off-by: John Sallay <[email protected]>
  • Loading branch information
jsallay committed Sep 21, 2024
1 parent 011cadf commit 0078296
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions include/pmtv/format.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Gcc12 does not support it.
// Eventually replace with std::format when that is widely available.
#include <fmt/format.h>
#include <fmt/ranges.h>

namespace fmt {
template <>
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
16 changes: 8 additions & 8 deletions subprojects/fmt.wrap
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0078296

Please sign in to comment.