]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Meson: Enable sqlite3 when the dep is activated by the backend
authorFred Morcos <fred.morcos@open-xchange.com>
Fri, 8 Sep 2023 09:53:13 +0000 (11:53 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 20 Mar 2024 12:28:50 +0000 (13:28 +0100)
meson.build

index 7ae39c36e18486b359b1f1d47b4761e663fb7847..86547a1cbea53a219b475fa39b7478aa413f9fbe 100644 (file)
@@ -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')