1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-30 11:52:11 +01:00

[build] Define _WINNT_WIN32 on MinGW

Fixes #2133.
This commit is contained in:
Philip Rebohle 2021-06-29 15:19:27 +02:00
parent 45a6d5fb5b
commit 6e4778cc81
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -28,6 +28,8 @@ if dxvk_compiler.get_id() == 'clang'
endif
if not dxvk_is_msvc
add_project_arguments('-D_WIN32_WINNT=0xa00', language : 'cpp')
if get_option('build_id') and dxvk_compiler.has_link_argument('-Wl,--build-id')
add_global_link_arguments('-Wl,--build-id', language: 'cpp')
endif