Add Nlohmann JSON library

This will make use of the Nlohmann JSON library accessible in the
sysroot for other packages to compile with.

Use: #include "nlohmann/json.hpp"

Change-Id: Ia1dc032bc847fa156c0f7c12afb117e2ae3c2192
Signed-off-by: David Cobbley <david.j.cobbley@linux.intel.com>
diff --git a/common/recipes-support/nlohmann-json/nlohmann-json_git.bb b/common/recipes-support/nlohmann-json/nlohmann-json_git.bb
new file mode 100644
index 0000000..2f58e4b
--- /dev/null
+++ b/common/recipes-support/nlohmann-json/nlohmann-json_git.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "JSON for modern C++"
+HOMEPAGE = "https://nlohmann.github.io/json/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=f8a8f918f1513404c8366d7a63ab6d97"
+
+SRC_URI = "git://github.com/nlohmann/json.git;branch=release/3.0.0"
+
+PV = "3.0.0+git${SRCPV}"
+
+SRCREV = "106f9f5436f6726006627ce3122fddf7fc9ca330"
+
+S = "${WORKDIR}/git"
+do_install_append(){
+    install -d ${D}${includedir}/nlohmann
+    install -m 644 ${S}/src/json.hpp ${D}${includedir}/nlohmann/json.hpp
+}