mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-08-20 15:43:21 +02:00
Merge pull request #3719 from jbeich/clang
Unbreak -Werror=implicit-fallthrough with Clang
This commit is contained in:
commit
4d7d3651f3
@ -164,7 +164,7 @@ if (ENABLE_SDL2)
|
|||||||
set(SDL2_LIBRARIES "SDL2::SDL2")
|
set(SDL2_LIBRARIES "SDL2::SDL2")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories(${SDL2_INCLUDE_DIRS})
|
include_directories(SYSTEM ${SDL2_INCLUDE_DIRS})
|
||||||
add_library(SDL2 INTERFACE)
|
add_library(SDL2 INTERFACE)
|
||||||
target_link_libraries(SDL2 INTERFACE "${SDL2_LIBRARIES}")
|
target_link_libraries(SDL2 INTERFACE "${SDL2_LIBRARIES}")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user