libnm: with meson include "nm-default.h" for glib-mkenums sources

We also do that for the autotools implementation.
This commit is contained in:
Thomas Haller 2020-11-02 23:34:37 +01:00
parent 755d97d38c
commit fd57e9665c
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728
2 changed files with 2 additions and 0 deletions

View file

@ -83,6 +83,7 @@ libnm_core_enum_sources = gnome.mkenums_simple(
enum_types,
sources: libnm_core_headers + [nm_version_macro_header],
identifier_prefix: nm_id_prefix,
body_prefix: '#include "nm-default.h"',
install_header: true,
install_dir: libnm_pkgincludedir,
)

View file

@ -15,6 +15,7 @@ enum_sources = gnome.mkenums_simple(
enum_types,
sources: 'test-general-enums.h',
identifier_prefix: nm_id_prefix,
body_prefix: '#include "nm-default.h"',
)
deps = [