meson: define P_LOCALE
This commit is contained in:
parent
b8d1864a07
commit
bec44eaab8
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ else
|
||||||
endif
|
endif
|
||||||
docdir = prefix / 'doc'
|
docdir = prefix / 'doc'
|
||||||
dataroot = datadir / 'aegisub'
|
dataroot = datadir / 'aegisub'
|
||||||
add_project_arguments('-DP_DATA="@0@"'.format(dataroot), language: 'cpp')
|
add_project_arguments('-DP_DATA="@0@"'.format(dataroot), '-DP_LOCALE="@0@"'.format(localedir), language: 'cpp')
|
||||||
|
|
||||||
if host_machine.system() == 'windows'
|
if host_machine.system() == 'windows'
|
||||||
add_project_arguments('-DNOMINMAX', '-D_WIN32_WINNT=0x0601', language: 'cpp')
|
add_project_arguments('-DNOMINMAX', '-D_WIN32_WINNT=0x0601', language: 'cpp')
|
||||||
|
|
Loading…
Reference in a new issue