meson: fix nlohmann json wrap
A bmcweb header includes adl_serializer.hpp
```
http/utility.hpp
12:#include <nlohmann/adl_serializer.hpp>
```
But the single include does not provide adl_serializer.hpp
```
tree subprojects/nlohmann_json-3.11.3/single_include/
subprojects/nlohmann_json-3.11.3/single_include/
└── nlohmann
├── json_fwd.hpp
└── json.hpp
2 directories, 2 files
```
To include it, bmcweb needs to include the multiple headers.
In subprojects/nlohmann_json-3.11.3/meson.build
```
nlohmann_json_dep = declare_dependency(
include_directories: include_directories('single_include')
)
nlohmann_json_multiple_headers = declare_dependency(
include_directories: include_directories('include')
)
```
Change the dependency to use multiple headers to enable local builds.
Tested: bmcweb can be compiled locally, with nlohmann json as a
meson subproject.
Change-Id: I0de726cbee0f31e8439d0fb8861a25b9d83a8acb
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/subprojects/nlohmann_json.wrap b/subprojects/nlohmann_json.wrap
index 8c46676..1ffc030 100644
--- a/subprojects/nlohmann_json.wrap
+++ b/subprojects/nlohmann_json.wrap
@@ -8,4 +8,4 @@
wrapdb_version = 3.11.3-1
[provide]
-nlohmann_json = nlohmann_json_dep
+nlohmann_json = nlohmann_json_multiple_headers