aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-01 17:21:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-01 17:21:34 +0200
commitcccaee14d1a987f739556a6bc429ab4457916506 (patch)
treeb524fc7ec4c214cdca896e317435563392ea7f9c
parent18a9c29e5ac61e6ee5f1349a1242540874c32cad (diff)
Only set cli.options if cli is configured
-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.