Skip to content

Commit 06ce6e6

Browse files
committed
build: detect external libfmt
Signed-off-by: black-desk <[email protected]>
1 parent 2f25341 commit 06ce6e6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ocppi/cli/Process.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
#include <string>
99
#include <vector>
1010

11+
#include "spdlog/spdlog.h"
12+
#if !defined(SPDLOG_FMT_EXTERNAL)
1113
#include "spdlog/fmt/bundled/format.h"
14+
#else
15+
#include "fmt/format.h"
16+
#endif
1217

1318
int runProcess(const std::string &binaryPath,
1419
const std::vector<std::string> &args, std::string &output)

0 commit comments

Comments
 (0)