Skip to content

Commit

Permalink
spdlog: fix compilation with cpp_std >= gnu_20
Browse files Browse the repository at this point in the history
  • Loading branch information
polesapart authored and Will Wray committed Apr 22, 2024
1 parent b7ad455 commit f61031b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -2939,6 +2939,7 @@
"spdlog"
],
"versions": [
"1.13.0-2",
"1.13.0-1",
"1.12.0-2",
"1.12.0-1",
Expand Down
1 change: 1 addition & 0 deletions subprojects/packagefiles/spdlog/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ spdlog_compile_args = []

if meson.get_compiler('cpp').has_header_symbol('format', '__cpp_lib_format', required: get_option('std_format'))
spdlog_compile_args += '-DSPDLOG_USE_STD_FORMAT'
fmt_dep = depemndency('', required: false)
else
fmt_dep = dependency('fmt', version: '>=8.1', required: get_option('external_fmt'))
if fmt_dep.found()
Expand Down

0 comments on commit f61031b

Please sign in to comment.