mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 19:10:24 +01:00
libnm: with meson include "nm-default.h" for glib-mkenums sources
We also do that for the autotools implementation. (cherry picked from commitfd57e9665c) (cherry picked from commitc807e77271) (cherry picked from commit63f2d73b97) (cherry picked from commit6efb6696c7)
This commit is contained in:
parent
df4008e99b
commit
ea9c19ec9d
2 changed files with 2 additions and 0 deletions
|
|
@ -79,6 +79,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,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -13,6 +13,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 = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue