Fix compiling SDL

This commit is contained in:
Phillip Stephens 2022-02-23 21:20:41 -08:00
parent 3ab34f67e0
commit ad0affb11d
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ if (WIN32)
endif ()
add_subdirectory(../extern/SDL SDL2 EXCLUDE_FROM_ALL)
if (NOT MSVC)
target_compile_options(SDL2-static PRIVATE -Wno-implicit-fallthrough)
target_compile_options(SDL2-static PRIVATE -Wno-implicit-fallthrough -Wno-shadow)
endif ()
add_subdirectory(../extern/dawn dawn EXCLUDE_FROM_ALL)