Skip to content

Commit

Permalink
build: detect external libfmt
Browse files Browse the repository at this point in the history
Signed-off-by: black-desk <[email protected]>
  • Loading branch information
black-desk committed Mar 21, 2024
1 parent 2f25341 commit 06ce6e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ocppi/cli/Process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
#include <string>
#include <vector>

#include "spdlog/spdlog.h"
#if !defined(SPDLOG_FMT_EXTERNAL)
#include "spdlog/fmt/bundled/format.h"
#else
#include "fmt/format.h"
#endif

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

0 comments on commit 06ce6e6

Please sign in to comment.