mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-29 05:40:20 -04:00
Allow building with muon
This commit is contained in:
parent
fa36852a58
commit
0294b25f27
4 changed files with 23 additions and 19 deletions
|
|
@ -3,7 +3,7 @@ project(
|
|||
'c',
|
||||
version: '0.2.3',
|
||||
license: 'MIT',
|
||||
meson_version: '>=0.52.0',
|
||||
meson_version: '>=0.59.0',
|
||||
default_options: [
|
||||
'c_std=c11',
|
||||
'warning_level=2',
|
||||
|
|
@ -36,7 +36,9 @@ xkbcommon = dependency('xkbcommon')
|
|||
msgfmt = find_program('msgfmt', required: false)
|
||||
if msgfmt.found()
|
||||
source_root = meson.current_source_dir()
|
||||
add_project_arguments('-DUSE_NLS=1', language: 'c')
|
||||
add_project_arguments('-DGETTEXT_PACKAGE="' + meson.project_name().to_lower() + '"',
|
||||
'-DLOCALEDIR="' + get_option('prefix') / get_option('localedir') + '"',
|
||||
'-DUSE_NLS=1', language: 'c')
|
||||
subdir('po')
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue