mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 05:19:01 +08:00
6943024ae1
* Update nlohmann-json to 3.11.2 * Update versions
13 lines
455 B
Plaintext
13 lines
455 B
Plaintext
The package nlohmann-json provides CMake targets:
|
|
|
|
find_package(nlohmann_json CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE nlohmann_json::nlohmann_json)
|
|
|
|
The package nlohmann-json can be configured to not provide implicit conversions via a custom triplet file:
|
|
|
|
set(nlohmann-json_IMPLICIT_CONVERSIONS OFF)
|
|
|
|
For more information, see the docs here:
|
|
|
|
https://json.nlohmann.me/api/macros/json_use_implicit_conversions/
|