From ad0affb11df87e8a7b6beee374f912eca1ddcf83 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Wed, 23 Feb 2022 21:20:41 -0800 Subject: [PATCH] Fix compiling SDL --- aurora/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurora/CMakeLists.txt b/aurora/CMakeLists.txt index f01238a28..3315f623a 100644 --- a/aurora/CMakeLists.txt +++ b/aurora/CMakeLists.txt @@ -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)