mirror of
https://github.com/InvisibleUp/uvmac.git
synced 2024-11-22 07:31:19 +00:00
Support non-Windows systems in meson.build again
This commit is contained in:
parent
86b81e96fd
commit
02ca67284e
12
meson.build
12
meson.build
@ -61,10 +61,14 @@ lSDL2 = dependency('SDL2', static: true)
|
||||
|
||||
# Windows resources
|
||||
# todo: gate this off if not on Windows
|
||||
windows = import('windows')
|
||||
WIN_RSRC = windows.compile_resources(
|
||||
'rsrc/WIN32/main.rc',
|
||||
)
|
||||
if target_machine.system() == 'windows'
|
||||
windows = import('windows')
|
||||
WIN_RSRC = windows.compile_resources(
|
||||
'rsrc/WIN32/main.rc',
|
||||
)
|
||||
else
|
||||
WIN_RSRC = []
|
||||
endif
|
||||
|
||||
# Hardware libraries
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user