From c41d8f71577ff5e463e0a16f9c320dfcb3e47e7b Mon Sep 17 00:00:00 2001 From: trilader Date: Tue, 1 Dec 2020 23:23:38 +0100 Subject: [PATCH] Add wrapfile to fetch get the nlohmann_json library when not installed --- .gitignore | 2 ++ subprojects/nlohmann_json-3.9.1.wrap | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 subprojects/nlohmann_json-3.9.1.wrap diff --git a/.gitignore b/.gitignore index b0a51f1..b215435 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ *.db *.user build-*/ +subprojects/packagecache/ +subprojects/nlohmann_json*/ diff --git a/subprojects/nlohmann_json-3.9.1.wrap b/subprojects/nlohmann_json-3.9.1.wrap new file mode 100644 index 0000000..75c5d34 --- /dev/null +++ b/subprojects/nlohmann_json-3.9.1.wrap @@ -0,0 +1,10 @@ +[wrap-file] +directory = nlohmann_json-3.9.1 +lead_directory_missing = true + +source_url = https://github.com/nlohmann/json/releases/download/v3.9.1/include.zip +source_filename = nlohmann_json-3.9.1.zip +source_hash = 6bea5877b1541d353bd77bdfbdb2696333ae5ed8f9e8cc22df657192218cad91 + +[provide] +nlohmann_json = nlohmann_json_dep