meson: adjust nlohmann-json dependency
Simplify the dependency detection logic and align the wrap file name
with other repositories.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I93c52a9c4de5fedb47d396ebe12bccbaad701728
diff --git a/subprojects/nlohmann_json.wrap b/subprojects/nlohmann_json.wrap
new file mode 100644
index 0000000..3745380
--- /dev/null
+++ b/subprojects/nlohmann_json.wrap
@@ -0,0 +1,6 @@
+[wrap-git]
+revision = HEAD
+url = https://github.com/nlohmann/json.git
+
+[provide]
+nlohmann_json = nlohmann_json_dep