🔧 add amalgamated json-fwd.hpp to package managers

This commit is contained in:
Niels Lohmann 2022-08-07 14:35:06 +02:00
parent d1913dbbea
commit 1ad0675b1d
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 4 additions and 0 deletions

View File

@ -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',

View File

@ -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"