From 1cdde5cf7b51b587556eb686a60327088c10b52e Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Fri, 8 Sep 2023 11:53:13 +0200 Subject: [PATCH] Meson: Enable sqlite3 when the dep is activated by the backend --- meson.build | 5 +++++ 1 file changed, 5 insertions(+) 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') -- 2.47.2