From 1ad0675b1d524dce70e7e2867b3580088b5afd02 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 7 Aug 2022 14:35:06 +0200 Subject: [PATCH] :wrench: add amalgamated json-fwd.hpp to package managers --- meson.build | 1 + wsjcpp.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 005e98ef2..b13f64b01 100644 --- a/meson.build +++ b/meson.build @@ -14,6 +14,7 @@ nlohmann_json_multiple_headers = declare_dependency( if not meson.is_subproject() install_headers('single_include/nlohmann/json.hpp', subdir: 'nlohmann') +install_headers('single_include/nlohmann/json_fwd.hpp', subdir: 'nlohmann') pkgc = import('pkgconfig') pkgc.generate(name: 'nlohmann_json', diff --git a/wsjcpp.yml b/wsjcpp.yml index 04648019c..4b8b661d9 100644 --- a/wsjcpp.yml +++ b/wsjcpp.yml @@ -21,3 +21,6 @@ distribution: - source-file: "single_include/nlohmann/json.hpp" target-file: "json.hpp" type: "source-code" + - source-file: "single_include/nlohmann/json_fwd.hpp" + target-file: "json_fwd.hpp" + type: "source-code"