meson: -Dwindows-installer also works on Linux build machine.

To this day, the windows-installer option only creates the language
files for the installer. There is just no reason to forbid building them
(hence testing the option works) on non-Windows platforms. In autotools,
it already works fine on all platforms.
This commit is contained in:
Jehan 2021-05-18 20:21:18 +02:00
parent 8a42c6ccc2
commit a8f020d889

View file

@ -1610,13 +1610,9 @@ meson.add_dist_script('meson_dist_script.sh')
rootInclude = include_directories('.')
appInclude = include_directories('app')
if platform_windows
subdir('build/windows')
if get_option('windows-installer')
subdir('po-windows-installer')
subdir('build/windows/installer')
endif
if get_option('windows-installer')
subdir('po-windows-installer')
subdir('build/windows/installer')
endif
# Tools