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