build: add cld2 option

Add an option for builders to explicitly disable cld2, instead of
relying on the automatic detection.
This commit is contained in:
Matthew Smith
2024-02-25 10:39:02 +00:00
parent 9d7f3f17d8
commit f88acc0446
2 changed files with 8 additions and 3 deletions

View File

@ -24,6 +24,11 @@ option('guile',
value: 'auto',
description: 'build the guile scripting support (requires guile-3.x)')
option('cld2',
type : 'feature',
value: 'auto',
description: 'Compact Language Detector2')
# by default, this uses guile_dep.get_variable(pkgconfig: 'extensiondir')
option('guile-extension-dir',
type: 'string',