mirror of
https://github.com/nlohmann/json.git
synced 2026-10-02 20:50:32 +00:00
Add DisableTupleReferenceConversion to Meson and the CMake pkg-config file
JSON_DisableTupleReferenceConversion (#5598) came in with the develop merge. Meson gets the matching option, and both the Meson and the CMake pkg-config file carry JSON_DISABLE_TUPLE_REFERENCE_CONVERSION=1 when it is enabled. The ci_meson_install job checks it. Reported by @heitbaum in #5587. Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
@@ -128,8 +128,8 @@ subproject fallback, rather than using the subproject directly.
|
||||
|
||||
The options that change the library's configuration are available in Meson as well, named like the
|
||||
[CMake options](cmake.md#cmake-options) without the `JSON_` prefix: `MultipleHeaders`, `GlobalUDLs`,
|
||||
`ImplicitConversions`, `DisableEnumSerialization`, `Diagnostics`, `Diagnostic_Positions`,
|
||||
`LegacyDiscardedValueComparison`, and `StrictNulHandling`. They have the same defaults as in CMake, except that
|
||||
`ImplicitConversions`, `DisableEnumSerialization`, `DisableTupleReferenceConversion`, `Diagnostics`,
|
||||
`Diagnostic_Positions`, `LegacyDiscardedValueComparison`, and `StrictNulHandling`. They have the same defaults as in CMake, except that
|
||||
`MultipleHeaders` is `false`. Set them with `-D` when setting up the build, or with the subproject name as prefix when
|
||||
the library is used as a subproject:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user