From 8c2822db1f40614b78bc4ecbd0498c20e05e021c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 22 Sep 2025 20:49:17 +0200 Subject: Add basic JSON verification report (#1823). --- wscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 052bb014..f59dda7f 100644 --- a/wscript +++ b/wscript @@ -285,6 +285,9 @@ def configure(conf): if haru: conf.env.append_value('LIBDCP_HAVE_HARU', '1') + if conf.check_cxx(header_name="nlohmann/json.hpp", uselib_store='JSON', define_name='LIBDCP_HAVE_JSON', mandatory=False): + conf.env.append_value('LIBDCP_HAVE_JSON', '1') + if not conf.env.DISABLE_TESTS: conf.recurse('test') if conf.options.enable_gcov: -- cgit v1.2.3