aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/nlohmann-json/usage
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/nlohmann-json/usage')
-rw-r--r--vcpkg/ports/nlohmann-json/usage12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/nlohmann-json/usage b/vcpkg/ports/nlohmann-json/usage
new file mode 100644
index 0000000..19c76d5
--- /dev/null
+++ b/vcpkg/ports/nlohmann-json/usage
@@ -0,0 +1,12 @@
+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/