Skip to content

Commit

Permalink
Meson: add log domain
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Oct 22, 2024
1 parent 3e98058 commit 905d429
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@ polkit_actiondir = polkit_dep.get_pkgconfig_variable('actiondir', define_variabl

posix_dep = meson.get_compiler('vala').find_library('posix')

add_project_arguments('-DGETTEXT_PACKAGE="@0@"'.format(gettext_name), language:'c')
add_project_arguments('-DGNOME_DESKTOP_USE_UNSTABLE_API', language: 'c')
add_project_arguments(
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
'-DG_LOG_DOMAIN="@0@"'.format(meson.project_name()),
'-DGNOME_DESKTOP_USE_UNSTABLE_API',
language:'c'
)

add_project_arguments(['--vapidir', join_paths(meson.current_source_dir(), 'vapi')], language: 'vala')

configuration_data = configuration_data()
Expand Down

0 comments on commit 905d429

Please sign in to comment.