summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-15 00:15:31 +0200
committerCarl Hetherington <cth@carlh.net>2026-02-16 01:20:17 +0100
commit290672d7b4b3c454f02a42d95df3ddfae307542f (patch)
treecf5531f768b86e40a7ba41743b6ec30e00249e7c /wscript
parente23af8c3cf898dd443de7e081542f039f6763cec (diff)
Use nlohmann for JSON.
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/wscript b/wscript
index 1b2e83dac..e4925366c 100644
--- a/wscript
+++ b/wscript
@@ -697,6 +697,14 @@ def configure(conf):
define_name="DCPOMATIC_HAVE_SQLITE3_PREPARE_V3",
mandatory=False)
+ conf.check_cxx(fragment="""
+ #include <nlohmann/json.hpp>
+ int main() { nlohmann::json json; return 0; }
+ """,
+ msg='Checking for nlohmann json',
+ uselib='JSON',
+ mandatory=True)
+
# Other stuff