Skip to content
Snippets Groups Projects
Commit 5bd0b0e9 authored by Cyril Moineau's avatar Cyril Moineau
Browse files

Fix fmt include depending on used fmt version.

parent fb02e3ec
No related branches found
No related tags found
No related merge requests found
Pipeline #69692 passed
...@@ -19,7 +19,11 @@ ...@@ -19,7 +19,11 @@
#include <typeindex> #include <typeindex>
#include <utility> // std::make_pair #include <utility> // std::make_pair
#include <fmt/base.h> #if FMT_VERSION < 110000 // If fmt version is less than 11.0.0
#include <fmt/core.h>
#else
#include <fmt/base.h>
#endif
#include <fmt/format.h> #include <fmt/format.h>
#include <fmt/std.h> #include <fmt/std.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment