🔧 add amalgamated json-fwd.hpp to package managers
This commit is contained in:
parent
d1913dbbea
commit
1ad0675b1d
@ -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',
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user