Add missing resource file on windows
This commit is contained in:
parent
9bd4a8b9de
commit
f61ffc4710
|
@ -19,5 +19,11 @@ if get_option('buildtype') == 'release'
|
||||||
lite_link_args += ['-static-libgcc', '-static-libstdc++']
|
lite_link_args += ['-static-libgcc', '-static-libstdc++']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
lite_rc = []
|
||||||
|
if host_machine.system() == 'windows'
|
||||||
|
windows = import('windows')
|
||||||
|
lite_rc += windows.compile_resources('res.rc')
|
||||||
|
endif
|
||||||
|
|
||||||
subdir('src')
|
subdir('src')
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
|
|
|
@ -13,7 +13,7 @@ lite_sources = [
|
||||||
lite_cdefs += ['-DFONT_RENDERER_HEIGHT_HACK']
|
lite_cdefs += ['-DFONT_RENDERER_HEIGHT_HACK']
|
||||||
|
|
||||||
executable('lite',
|
executable('lite',
|
||||||
lite_sources,
|
lite_sources + lite_rc,
|
||||||
include_directories: lite_include,
|
include_directories: lite_include,
|
||||||
dependencies: [lua_dep, sdl_dep, libagg_dep, freetype_dep, libm, libdl],
|
dependencies: [lua_dep, sdl_dep, libagg_dep, freetype_dep, libm, libdl],
|
||||||
link_args: lite_link_args,
|
link_args: lite_link_args,
|
||||||
|
|
Loading…
Reference in New Issue