3
0
Fork 0
forked from suyu/suyu

Merge pull request #3719 from jbeich/clang

Unbreak -Werror=implicit-fallthrough with Clang
This commit is contained in:
Rodrigo Locatti 2020-04-18 21:43:12 -03:00 committed by GitHub
commit 4d7d3651f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,7 +164,7 @@ if (ENABLE_SDL2)
set(SDL2_LIBRARIES "SDL2::SDL2")
endif()
include_directories(${SDL2_INCLUDE_DIRS})
include_directories(SYSTEM ${SDL2_INCLUDE_DIRS})
add_library(SDL2 INTERFACE)
target_link_libraries(SDL2 INTERFACE "${SDL2_LIBRARIES}")
endif()