mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 10:54:16 +01:00
[build] Set SDL2 WSI env vars and defines on native builds
This commit is contained in:
parent
801d97806d
commit
9dad1aadbe
@ -103,6 +103,9 @@ else
|
||||
wrc_generator = generator(wrc, output : [ '@BASENAME@_ignored.h' ], arguments : [ '@OUTPUT@' ] )
|
||||
|
||||
dxvk_include_path = include_directories('./include', './include/native', './include/native/windows', './include/native/directx')
|
||||
|
||||
dxvk_wsi = 'sdl2'
|
||||
compiler_args += ['-DDXVK_WSI_SDL2']
|
||||
endif
|
||||
|
||||
add_project_arguments(cpp.get_supported_arguments(compiler_args), language: 'cpp')
|
||||
|
Loading…
x
Reference in New Issue
Block a user