diff options
author | Joshua Ashton <joshua@froggi.es> | 2022-08-21 23:34:19 +0300 |
---|---|---|
committer | Philip Rebohle <25567304+doitsujin@users.noreply.github.com> | 2022-08-21 23:37:13 +0300 |
commit | 9dad1aadbe2490789fbbe95ea94fb87157d7bbae (patch) | |
tree | 3a130600e760f5dba50e7acfb9f2ab10b6b32227 /meson.build | |
parent | 801d97806d04e99e8000fb41e495d65b4346d905 (diff) |
[build] Set SDL2 WSI env vars and defines on native builds
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 11692c38..5c40b381 100644 --- a/meson.build +++ b/meson.build @@ -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') |