Change nlohmann to nlohmann_json
c9374ff613b6836010877f8083e75657abc78343
Was recently checked in that adds subproject files for nlohmann. It
opted for the name "nlohmann" when the upstream project installs itself
as "nlohmann_json". This mismatch causes a yocto build failure.
Fix it.
Tested: Code compiles
Change-Id: I2df5f473a61172593e9a1045fc5a229e06e3afc2
Signed-off-by: Ed Tanous <edtanous@google.com>
diff --git a/meson.build b/meson.build
index cdfc3dd..e59eee9 100644
--- a/meson.build
+++ b/meson.build
@@ -282,9 +282,9 @@
zlib = dependency('zlib')
bmcweb_dependencies += [systemd, zlib]
-nlohmann_json = dependency('nlohmann', version: '>=3.9.2', required: false, include_type: 'system')
+nlohmann_json = dependency('nlohmann_json', version: '>=3.9.2', required: false, include_type: 'system')
if not nlohmann_json.found()
- nlohmann_json_proj = subproject('nlohmann', required: true)
+ nlohmann_json_proj = subproject('nlohmann_json', required: true)
nlohmann_json = nlohmann_json_proj.get_variable('nlohmann_json_dep')
nlohmann_json = nlohmann_json.as_system('system')
endif