1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-01-15 17:27:57 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Gabi Melman
40bb28e9b6
Merge pull request #1378 from ldanko/v1.x
meson: add fallback to fmt dependency
2020-01-02 04:10:50 +02:00
Łukasz Dańko
aac085a9be meson: add fallback to fmt dependency
Now `fmt` library can be used as subproject which helps with cross
compilation.
2020-01-01 23:59:32 +01:00

View File

@ -23,7 +23,7 @@ if get_option('external_fmt')
if not meson.version().version_compare('>=0.49.0')
warning('Finding fmt can fail with meson versions before 0.49.0')
endif
dep_list += dependency('fmt')
dep_list += dependency('fmt', fallback : ['fmt', 'fmt_dep'])
compile_args += '-DSPDLOG_FMT_EXTERNAL'
endif