meson: define P_LOCALE

This commit is contained in:
Ryan 2021-01-16 13:15:05 -05:00
parent b8d1864a07
commit bec44eaab8

View file

@ -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')