From: Fred Morcos Date: Fri, 8 Sep 2023 09:53:13 +0000 (+0200) Subject: Meson: Enable sqlite3 when the dep is activated by the backend X-Git-Tag: rec-5.1.0-alpha1~80^2~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cdde5cf7b51b587556eb686a60327088c10b52e;p=thirdparty%2Fpdns.git Meson: Enable sqlite3 when the dep is activated by the backend --- diff --git a/meson.build b/meson.build index 7ae39c36e1..86547a1cbe 100644 --- a/meson.build +++ b/meson.build @@ -186,6 +186,11 @@ conf.set_quoted( description: 'Dynamically loadable modules built along with pdns' ) +# TODO This should be cleaned up +if get_variable('dep_sqlite3', dependency('', required: false)).found() + deps += dep_sqlite3 +endif + # Generate config.h config_h = configure_file(configuration: conf, output: 'config.h')