meson: define P_LOCALE

This commit is contained in:
Ryan 2021-01-16 13:15:05 -05:00
parent b8d1864a07
commit bec44eaab8
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ else
endif
docdir = prefix / 'doc'
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'
add_project_arguments('-DNOMINMAX', '-D_WIN32_WINNT=0x0601', language: 'cpp')