From cccaee14d1a987f739556a6bc429ab4457916506 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 1 Sep 2016 17:21:34 +0200 Subject: Only set cli.options if cli is configured --- odb/sqlite/buildfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. -- cgit v1.1