cli11: prefer system package if found

mu embeds a "vendored" version of libcl11 under thirdparty/; but it's
better to use the system-package if the user has one.

So, use the system package if found or user -Duse-embedded-cli11=true is
specified.
This commit is contained in:
Dirk-Jan C. Binnema
2025-07-19 10:41:10 +03:00
parent 33958cd0f7
commit 4c2ce92a15
5 changed files with 16 additions and 4 deletions

View File

@ -49,7 +49,11 @@
#include "mu-options.hh"
#include "mu-script.hh"
#include <thirdparty/CLI11.hpp>
#ifdef USE_EMBEDDED_CLI11
#include "CLI11.hpp"
#else
#include "CLI/CLI.hpp"
#endif
using namespace Mu;