diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-04-18 21:43:12 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 21:43:12 -0300 |
commit | 4d7d3651f3ccffa52394a9b2be230e0a60ab2376 (patch) | |
tree | a33bfa280f385789ae79972dca7a563461069dba | |
parent | 5305806071d2a2d04035df44198ebb14c84282e3 (diff) | |
parent | 1a2df0a5f389643912c4719ac3f379fe8477e575 (diff) |
Merge pull request #3719 from jbeich/clang
Unbreak -Werror=implicit-fallthrough with Clang
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 467d769a2..c906c5a50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() |