From: Fred Morcos Date: Wed, 9 Aug 2023 14:17:25 +0000 (+0200) Subject: Meson: json11 ext X-Git-Tag: rec-5.1.0-alpha1~80^2~267 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=858868083e5438bcc6f9c2f77be20e4b531a9b3b;p=thirdparty%2Fpdns.git Meson: json11 ext --- diff --git a/ext/json11/meson.build b/ext/json11/meson.build new file mode 100644 index 0000000000..1f001c927f --- /dev/null +++ b/ext/json11/meson.build @@ -0,0 +1,9 @@ +module_sources = [ + 'json11.cpp', + 'json11.hpp', +] + +dep_json11 = declare_dependency( + sources: module_sources, + include_directories: include_directories('.'), +) diff --git a/meson.build b/meson.build index b15bdd5d66..5484d65d78 100644 --- a/meson.build +++ b/meson.build @@ -164,7 +164,7 @@ conf.set_quoted('PDNS_MODULES', ' '.join(selected_modules), description: 'Built- conf.set_quoted('PDNS_DYN_MODULES', ' '.join(selected_dyn_modules), description: 'Dynamically loadable modules that were built along with pdns') # Ext -ext_modules = ['yahttp', 'ipcrypt'] +ext_modules = ['yahttp', 'ipcrypt', 'json11'] subdir('ext') # Generate config.h ----------------------------------------------------------------------