aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/sqlite/buildfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/sqlite/buildfile b/odb/sqlite/buildfile
index 2ce398f..12d1a37 100644
--- a/odb/sqlite/buildfile
+++ b/odb/sqlite/buildfile
@@ -73,9 +73,12 @@ details/:
{
{hxx ixx cxx}{options}: cli{options}
- cli.options += --include-with-brackets --include-prefix odb/sqlite/details \
+ if $cli.configured
+ {
+ cli.options += --include-with-brackets --include-prefix odb/sqlite/details \
--guard-prefix LIBODB_SQLITE_DETAILS --generate-file-scanner \
--cli-namespace odb::sqlite::details::cli --long-usage
+ }
# Include generated cli files into the distribution. But don't install them
# since they are only used internally in the database implementation.