Add missing resource file on windows

This commit is contained in:
U-ST\francesco abbate 2020-06-03 12:22:17 +02:00
parent 9bd4a8b9de
commit f61ffc4710
2 changed files with 7 additions and 1 deletions

View File

@ -19,5 +19,11 @@ if get_option('buildtype') == 'release'
lite_link_args += ['-static-libgcc', '-static-libstdc++']
endif
lite_rc = []
if host_machine.system() == 'windows'
windows = import('windows')
lite_rc += windows.compile_resources('res.rc')
endif
subdir('src')
subdir('tests')

View File

@ -13,7 +13,7 @@ lite_sources = [
lite_cdefs += ['-DFONT_RENDERER_HEIGHT_HACK']
executable('lite',
lite_sources,
lite_sources + lite_rc,
include_directories: lite_include,
dependencies: [lua_dep, sdl_dep, libagg_dep, freetype_dep, libm, libdl],
link_args: lite_link_args,