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

@ -25,6 +25,11 @@ option('use-embedded-fmt',
value: false,
description: 'Use the embedded fmt, even if system package is found')
option('use-embedded-cli11',
type: 'boolean',
value: false,
description: 'Use the embedded CLI11, even if system package is found')
#
# language detection
#