Add compatibility with fmt 4.0.0
This commit is contained in:
parent
d035557531
commit
ea69a014a5
1 changed files with 6 additions and 0 deletions
|
|
@ -3,8 +3,14 @@
|
|||
|
||||
#if CT_USE_SYSTEM_FMT
|
||||
#include "fmt/format.h"
|
||||
#if defined(FMT_VERSION) && FMT_VERSION >= 40000
|
||||
#include "fmt/printf.h"
|
||||
#endif
|
||||
#include "fmt/ostream.h"
|
||||
#else
|
||||
#include "cantera/ext/fmt/format.h"
|
||||
#if defined(FMT_VERSION) && FMT_VERSION >= 40000
|
||||
#include "cantera/ext/fmt/printf.h"
|
||||
#endif
|
||||
#include "cantera/ext/fmt/ostream.h"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue