mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 10:54:16 +01:00
[build] Enable -Wimplicit-fallthrough
I got bit by this in D3D9.
This commit is contained in:
parent
53b9a723ac
commit
e9b0d5d716
@ -48,6 +48,10 @@ if not dxvk_is_msvc
|
||||
endif
|
||||
endif
|
||||
|
||||
if dxvk_compiler.has_argument('-Wimplicit-fallthrough')
|
||||
add_project_arguments('-Wimplicit-fallthrough', language: 'cpp')
|
||||
endif
|
||||
|
||||
dxvk_include_path = include_directories('./include')
|
||||
|
||||
if (cpu_family == 'x86_64')
|
||||
|
Loading…
x
Reference in New Issue
Block a user